Project

General

Profile

« Previous | Next » 

Revision 8409

web/VegBIEN/Redmine/*/.htaccess: Use relative URL paths. This requires adding a RewriteBase directive because these dirs can be reached by symlinks.

View differences:

web/VegBIEN/Redmine/svn-web/.htaccess
1 1
RewriteEngine on
2 2
RewriteOptions AllowNoSlash
3
RewriteBase /VegBIEN/Redmine/svn-web/
3 4

  
4 5
# parse dotpath in the query string
5 6
RewriteCond %{QUERY_STRING} ^(?!&).+$
......
17 18
# dir without trailing / is provided as an absolute filesystem path
18 19
RewriteCond $0 ^/ [ornext]
19 20
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /VegBIEN/Redmine/main/repository/entry%1 [discardpath,noescape,last]
21
RewriteRule ^.+$ ../main/repository/entry%1 [discardpath,noescape,last]
web/VegBIEN/Redmine/wiki/.htaccess
1 1
RewriteEngine on
2 2
RewriteOptions AllowNoSlash
3
RewriteBase /VegBIEN/Redmine/wiki/
3 4

  
4 5
# parse dotpath in the query string
5 6
RewriteCond %{QUERY_STRING} ^(?!&).+$
......
17 18
# dir without trailing / is provided as an absolute filesystem path
18 19
RewriteCond $0 ^(?!/)(.+)$ [ornext]
19 20
RewriteCond Database_development ^(.*)$
20
RewriteRule ^.+$ /VegBIEN/Redmine/main/wiki/%1 [discardpath,noescape,last]
21
RewriteRule ^.+$ ../main/wiki/%1 [discardpath,noescape,last]
web/VegBIEN/Redmine/svn/.htaccess
1 1
RewriteEngine on
2 2
RewriteOptions AllowNoSlash
3
RewriteBase /VegBIEN/Redmine/svn/
3 4

  
4 5
# parse dotpath in the query string
5 6
RewriteCond %{QUERY_STRING} ^(?!&).+$
......
17 18
# dir without trailing / is provided as an absolute filesystem path
18 19
RewriteCond $0 ^/ [ornext]
19 20
RewriteCond /$0 ^(.*)$
20
RewriteRule ^.+$ /VegBIEN/Redmine/main/repository/raw%1 [discardpath,noescape,last]
21
RewriteRule ^.+$ ../main/repository/raw%1 [discardpath,noescape,last]

Also available in: Unified diff