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/?db=$2&table=$3&column=$4&target=tbl_structure.php [discardpath,noescape,last,redirect]
15 18
RewriteRule ^\[(.*)\]/([^/]*)/(.+?)/?$         http://$1/?db=$2&table=$3&target=tbl_structure.php           [discardpath,noescape,last,redirect]
16 19
RewriteRule ^\[(.*)\]/(.+?)/?$                 http://$1/?db=$2&target=db_structure.php                     [discardpath,noescape,last,redirect]

Also available in: Unified diff