Project

General

Profile

« Previous | Next » 

Revision 8399

web/**/.htaccess: parse dotpath in the query string: Remove any index.* suffix, which is added by MultiViews in Apache 2.4

View differences:

web/IH/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/CTFS/terms/.htaccess
4 4

  
5 5
# parse dotpath in the query string
6 6
RewriteCond %{QUERY_STRING} ^(?!&).+$
7
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
7
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
8
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
8 9

  
9 10
# don't rewrite existing paths
10 11
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/CTFS/schema/.htaccess
4 4

  
5 5
# parse dotpath in the query string
6 6
RewriteCond %{QUERY_STRING} ^(?!&).+$
7
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
7
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
8
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
8 9

  
9 10
# don't rewrite existing paths
10 11
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/CTFS/tables/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/CTFS/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/SALVIAS/db/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/SALVIAS/dd/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/SALVIAS/users/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
inputs/SALVIAS/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
10 11
RewriteCond %{REQUEST_FILENAME} -f
11 12
RewriteRule ^.+$ - [discardpath,noescape,last]
12 13

  
14
RedirectMatch ^/VegBIEN/Redmine/main$ https://projects.nceas.ucsb.edu/nceas/projects/bien/
13 15
RewriteRule ^.*$ dd/$0 [discardpath,noescape,last]
inputs/VegBank/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/Redmine/svn-web/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/Redmine/wiki/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/Redmine/main/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/Redmine/svn/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/servers/nimoy/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/servers/vegbiendev/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/BIEN2/geoscrub/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/BIEN2/staging/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/IH/db/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/Redmine/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/db/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegBIEN/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/TNRS/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/TCS/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/.phpPgAdmin/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/VegX/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/.htaccess
32 32
# parse dotpath in the query string
33 33
RewriteRule ^dotpath - [discardpath,noescape,last]
34 34
RewriteCond %{QUERY_STRING} ^(?!&).+$
35
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
35
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
36
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
36 37

  
37 38
# don't rewrite existing paths
38 39
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/DwC/history/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/DwC/terms/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/DwC/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/.phpMyAdmin/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/servers/vegbiendev/db/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/BIEN2/core/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/BIEN2/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]
web/BIEN2/web/.htaccess
3 3

  
4 4
# parse dotpath in the query string
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
6
RewriteCond %{REQUEST_URI} ^(.*?)(?:/index(?:\.\w+)?)?$
7
RewriteRule ^.*$ /dotpath.php%1 [discardpath,noescape,last]
7 8

  
8 9
# don't rewrite existing paths
9 10
RewriteCond %{REQUEST_FILENAME} -d [ornext]

Also available in: Unified diff