1 |
8038
|
aaronmk
|
RewriteEngine on
|
2 |
8446
|
aaronmk
|
RewriteOptions AllowNoSlash InheritBefore
|
3 |
8038
|
aaronmk
|
|
4 |
8444
|
aaronmk
|
SetEnvIf Request_URI ^ innermost_dir=phpPgAdmin
|
5 |
|
|
|
6 |
8507
|
aaronmk
|
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/([^/]*)/([^/]*)/(.+?)/?$ http://$1/redirect.php?server=$2&database=$3&schema=$4&table=$5&column=$6&subject=column [discardpath,last,noescape,qsappend,redirect]
|
7 |
|
|
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/([^/]*)/(.+?)/?$ http://$1/redirect.php?server=$2&database=$3&schema=$4&table=$5&subject=table [discardpath,last,noescape,qsappend,redirect]
|
8 |
|
|
RewriteRule ^\[(.*)\]/([^/]*)/([^/]*)/(.+?)/?$ http://$1/redirect.php?server=$2&database=$3&schema=$4&subject=schema [discardpath,last,noescape,qsappend,redirect]
|
9 |
|
|
RewriteRule ^\[(.*)\]/([^/]*)/(.+?)/?$ http://$1/redirect.php?server=$2&database=$3&subject=database [discardpath,last,noescape,qsappend,redirect]
|
10 |
|
|
RewriteRule ^\[(.*)\]/(.+?)/?$ http://$1/redirect.php?server=$2&subject=server [discardpath,last,noescape,qsappend,redirect]
|
11 |
|
|
RewriteRule ^\[(.*)\]/?$ http://$1/redirect.php?subject=root [discardpath,last,noescape,qsappend,redirect]
|
12 |
8485
|
aaronmk
|
|
13 |
|
|
# auto-add trailing / (dir without trailing / is absolute filesystem path)
|
14 |
|
|
RewriteCond %{ENV:innermost_dir} =phpPgAdmin
|
15 |
8507
|
aaronmk
|
RewriteRule ^/ %{REQUEST_URI}/ [discardpath,last,noescape,qsappend,redirect]
|