Project

General

Profile

« Previous | Next » 

Revision 8448

web/**/.htaccess: Removed preprocessing commands that need to run for every dir, because these are now inherited from the outermost .htaccess using InheritBefore. This allows the inner .htaccess files to focus just on the fallback rewrites, without needing lots of boilerplate code (except for the obligatory RewriteEngine/RewriteOptions/SetEnvIf preamble).

View differences:

web/aggregators/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=aggregators
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =aggregators
22 9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/people/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=people
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =people
22 9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/servers/vegbiendev/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=vegbiendev
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =vegbiendev
21 8
RewriteCond $0 ^/ [ornext]
.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=fs
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =fs
22 9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/aggregators/BIEN2/core/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=core
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =core
21 8
RewriteCond $0 ^/ [ornext]
web/aggregators/BIEN2/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=BIEN2
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =BIEN2
21 8
RewriteCond $0 ^/ [ornext]
web/aggregators/BIEN2/web/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=web
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =web
21 8
RewriteCond $0 ^/ [ornext]
web/aggregators/IH/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=IH
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =IH
21 8
RewriteCond $0 ^/ [ornext]
web/.phpMyAdmin/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=phpMyAdmin
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/(.+?)/?$ http://$1/?db=$2&table=$3&column=$4&target=tbl_structure.php [discardpath,noescape,last,redirect]
20 7
RewriteRule ^\[(.*)\]/([^/]*)/(.+?)/?$         http://$1/?db=$2&table=$3&target=tbl_structure.php           [discardpath,noescape,last,redirect]
21 8
RewriteRule ^\[(.*)\]/(.+?)/?$                 http://$1/?db=$2&target=db_structure.php                     [discardpath,noescape,last,redirect]
web/servers/vegbiendev/db/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=db
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =db
21 8
RewriteCond $0 ^/ [ornext]
inputs/VegBIEN/Redmine/svn-web/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=svn-web
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =svn-web
22 9
RewriteCond $0 ^/ [ornext]
inputs/VegBIEN/Redmine/wiki/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=wiki
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =wiki
22 9
RewriteCond $0 ^(?!/)(.+)$ [ornext]
inputs/VegBIEN/Redmine/main/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=main
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =main
21 8
RewriteCond $0 ^/ [ornext]
inputs/VegBIEN/Redmine/svn/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=svn
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =svn
22 9
RewriteCond $0 ^/ [ornext]
inputs/VegBIEN/Redmine/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=Redmine
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =Redmine
21 8
RewriteCond $0 ^/ [ornext]
inputs/VegBIEN/db/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=db
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =db
21 8
RewriteCond $0 ^/ [ornext]
inputs/VegBIEN/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=VegBIEN
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =VegBIEN
21 8
RewriteCond $0 ^/ [ornext]
inputs/CTFS/terms/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=terms
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =terms
22 9
RewriteCond $0 ^/ [ornext]
inputs/CTFS/schema/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=schema
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =schema
22 9
RewriteCond $0 ^/ [ornext]
inputs/CTFS/tables/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=tables
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =tables
21 8
RewriteCond $0 ^/ [ornext]
inputs/CTFS/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=CTFS
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =CTFS
21 8
RewriteCond $0 ^/ [ornext]
inputs/SALVIAS/db/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=db
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =db
21 8
RewriteCond $0 ^/ [ornext]
inputs/SALVIAS/dd/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=dd
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
RewriteRule ^(?!/)(?!Plot_)(.+)$ Plot_$1 [discardpath,noescape]
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =dd
inputs/SALVIAS/users/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=users
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =users
21 8
RewriteCond $0 ^/ [ornext]
inputs/SALVIAS/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=SALVIAS
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =SALVIAS
21 8
RewriteCond $0 ^/ [ornext]
inputs/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=datasources
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =datasources
22 9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
inputs/.TNRS/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=TNRS
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =TNRS
21 8
RewriteCond $0 ^/ [ornext]
inputs/VegBank/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=VegBank
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =VegBank
21 8
RewriteRule ^/                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
schemas/TCS/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=TCS
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =TCS
21 8
RewriteCond $0 ^/ [ornext]
schemas/VegX/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=VegX
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =VegX
21 8
RewriteCond $0 ^/ [ornext]
schemas/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=exchange_schemas
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =exchange_schemas
22 9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
schemas/DwC/history/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=history
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =history
21 8
RewriteCond $0 ^/ [ornext]
schemas/DwC/terms/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=terms
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =terms
21 8
RewriteCond $0 ^/ [ornext]
schemas/DwC/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=DwC
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =DwC
21 8
RewriteCond $0 ^/ [ornext]
schemas/VegCore/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=VegCore
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =VegCore
21 8
RewriteCond $0 ^/ [ornext]
web/primary_databases/.htaccess
4 4

  
5 5
SetEnvIf Request_URI ^ innermost_dir=primary_databases
6 6

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

  
12
# don't rewrite existing paths
13
RewriteCond %{REQUEST_FILENAME} -d [ornext]
14
RewriteCond %{REQUEST_FILENAME} -f
15
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
16

  
17
# handle DirectoryIndex subrequests
18
RewriteRule ^index$() $1 [discardpath,noescape]
19

  
20 7
# dir without trailing / is provided as an absolute filesystem path
21 8
RewriteCond %{ENV:innermost_dir} =primary_databases
22 9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
web/aggregators/BIEN2/geoscrub/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=geoscrub
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =geoscrub
21 8
RewriteCond $0 ^/ [ornext]
web/aggregators/BIEN2/staging/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=staging
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =staging
21 8
RewriteCond $0 ^/ [ornext]
web/aggregators/IH/db/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=db
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =db
21 8
RewriteCond $0 ^/ [ornext]
web/.phpPgAdmin/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=phpPgAdmin
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/([^/]*)/([^/]*)/(.+?)/?$ http://$1/redirect.php?server=$2&database=$3&schema=$4&table=$5&column=$6&subject=column [discardpath,noescape,last,redirect]
20 7
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/([^/]*)/(.+?)/?$         http://$1/redirect.php?server=$2&database=$3&schema=$4&table=$5&subject=table            [discardpath,noescape,last,redirect]
21 8
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/(.+?)/?$                 http://$1/redirect.php?server=$2&database=$3&schema=$4&subject=schema                    [discardpath,noescape,last,redirect]
web/servers/nimoy/.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=nimoy
5 5

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

  
11
# don't rewrite existing paths
12
RewriteCond %{REQUEST_FILENAME} -d [ornext]
13
RewriteCond %{REQUEST_FILENAME} -f
14
RewriteRule ^(?!/).+$ - [discardpath,noescape,last]
15

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

  
19 6
# dir without trailing / is provided as an absolute filesystem path
20 7
RewriteCond %{ENV:innermost_dir} =nimoy
21 8
RewriteCond $0 ^/ [ornext]

Also available in: Unified diff