Project

General

Profile

« Previous | Next » 

Revision 13108

web/.phpPgAdmin/.htaccess: extract path components 1st->last: documented that can't use subject param for this because that goes to the last selected tab, not the default (leftmost) tab

View differences:

trunk/web/.phpPgAdmin/.htaccess
10 10
RewriteRule ^\[(.*)\](?:/(.*))?$ $2 [discardpath,noescape,qsappend,env=base_url:http://$1]
11 11

  
12 12
# extract path components 1st->last
13
# can't use subject param because that goes to the last selected tab, not the
14
# default (leftmost) tab
13 15
RewriteRule ^                          -                                    [discardpath,noescape,qsappend,env=page:servers]
14 16
RewriteRule ^([^/]+)(?:/(.*))?$        $2?server=$1                         [discardpath,noescape,qsappend,env=page:all_db]
15 17
RewriteRule ^([^/]+)(?:/(.*))?$        $2?database=$1                       [discardpath,noescape,qsappend,env=page:schemas]

Also available in: Unified diff