Project

General

Profile

« Previous | Next » 

Revision 13458

web/.phpPgAdmin/.htaccess: support custom .php pages

View differences:

trunk/web/.phpPgAdmin/.htaccess
19 19
# subject values @ /usr/share/phppgadmin/classes/Misc.php#getSubjectParams()
20 20
RewriteRule ^                          -                                    [discardpath,noescape,qsappend,env=subject:root,env=page:servers]
21 21
RewriteRule ^([^/]+)(?:/(.*))?$        $2?server=$1                         [discardpath,noescape,qsappend,env=subject:server,env=page:all_db]
22
RewriteRule ^([^/]+)\.php(?:/(.*))?$   $2                                   [discardpath,noescape,qsappend,env=subject:schema,env=page:$1]
22 23
RewriteRule ^([^/]+)(?:/(.*))?$        $2?database=$1                       [discardpath,noescape,qsappend,env=subject:database,env=page:schemas]
23 24
RewriteRule ^([^/]+)(?:/(.*))?$        $2?schema=$1                         [discardpath,noescape,qsappend,env=subject:schema,env=page:tables]
24 25
RewriteRule ^(views|functions)()$      $2                                   [discardpath,noescape,qsappend,env=subject:schema,env=page:$1]

Also available in: Unified diff