Project

General

Profile

« Previous | Next » 

Revision 10513

web/servers/vegbiendev/db/: moved PostgreSQL engine to separate pg/ subdir to allow for other engines

View differences:

web/servers/vegbiendev/db/pg/.htaccess
1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3

  
4
SetEnvIf Request_URI ^ innermost_dir=pg
5

  
6
# dir without trailing / is provided as an absolute filesystem path
7
RewriteCond %{ENV:innermost_dir} =pg
8
RewriteCond $0 ^/ [ornext]
9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow%1 [discardpath,last,noescape,qsappend]
web/servers/vegbiendev/db/.htaccess
7 7
RewriteCond %{ENV:innermost_dir} =db
8 8
RewriteCond $0 ^/ [ornext]
9 9
RewriteCond /$0 ^(.*)$
10
RewriteRule ^.+$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow%1 [discardpath,last,noescape,qsappend]
10
RewriteRule ^.+$ pg%1 [discardpath,last,noescape,qsappend]

Also available in: Unified diff