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