Project

General

Profile

« Previous | Next » 

Revision 8406

web/**/.htaccess: handle DirectoryIndex subrequests, which append "index" to the dir

View differences:

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

  
14
# handle DirectoryIndex subrequests
15
RewriteRule ^index$() $1 [discardpath,noescape]
16

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

Also available in: Unified diff