Project

General

Profile

« Previous | Next » 

Revision 8378

web/**/.htaccess: Removed "handle DirectoryIndex" rule, which does not appear to be needed with the new dotpath format

View differences:

.htaccess
10 10
RewriteCond %{REQUEST_FILENAME} -f
11 11
RewriteRule ^.+$ - [discardpath,noescape,last]
12 12

  
13
# handle DirectoryIndex (this must be at this position in the rules)
14
RewriteRule ^(.*/)?index\.php$ $1 [discardpath,noescape]
15

  
16 13
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/([^/]*)/([^/]*)/(.+?)/?$ http://$1/redirect.php?server=$2&database=$3&schema=$4&table=$5&column=$6&subject=column [discardpath,noescape,last,redirect]
17 14
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/([^/]*)/(.+?)/?$         http://$1/redirect.php?server=$2&database=$3&schema=$4&table=$5&subject=table            [discardpath,noescape,last,redirect]
18 15
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/(.+?)/?$                 http://$1/redirect.php?server=$2&database=$3&schema=$4&subject=schema                    [discardpath,noescape,last,redirect]

Also available in: Unified diff