Project

General

Profile

« Previous | Next » 

Revision 7981

web/vegpath/.htaccess: Don't also translate dash-paths to dirs (in addition to dot-paths) because this adds unnecessary complexity and was only used to allow expressing parts of subdomain paths in forward instead of reverse order (e.g. DwC-history instead of history.DwC)

View differences:

.htaccess
39 39
RewriteCond %{DOCUMENT_ROOT}/$1 -l
40 40
RewriteRule ^([^/.]*)\.(.*)$ $1/$2 [last]
41 41

  
42
# translate dash-paths to dirs
43
RewriteCond %{DOCUMENT_ROOT}/$1 -d [ornext]
44
RewriteCond %{DOCUMENT_ROOT}/$1 -l
45
RewriteRule ^([^/.-]*)-(.*)$ $1/$2 [last]
46

  
47 42
# non-filesystem paths
48 43
ErrorDocument 404 /

Also available in: Unified diff