Project

General

Profile

« Previous | Next » 

Revision 8367

web/main/servers/vegbiendev/: Split it into db and fs forks, with db being the default. The fs fork links directly to /home/bien/svn on vegbiendev, which makes world-readable files directly web-accessible. (Permissions on /home/bien/svn and subdirs have been checked to ensure that private files are not world-readable.)

View differences:

web/main/servers/vegbiendev/db/.htaccess
1
RewriteEngine on
2
RewriteOptions inherit
3

  
4
# parse dotpath in the query string
5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
7

  
8
RewriteRule ^.*$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow/$0 [discardpath,noescape,last]
web/main/servers/vegbiendev/fs
1
link ../../../..
0 2

  
web/main/servers/vegbiendev/.htaccess
5 5
RewriteCond %{QUERY_STRING} ^(?!&).+$
6 6
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last]
7 7

  
8
RewriteRule ^.*$ /.phpPgAdmin/[vegbiendev.nceas.ucsb.edu/phppgadmin]/localhost:5432:allow/$0 [discardpath,noescape,last]
8
# don't redirect subdir paths
9
RewriteCond %{DOCUMENT_ROOT}/servers/vegbiendev/$1 -d
10
RewriteRule ^([^/]+).*$ - [discardpath,noescape,last]
11

  
12
# handle DirectoryIndex (this must be at this position in the rules)
13
RewriteRule ^(.*/)?index\.php$ $1 [discardpath,noescape]
14

  
15
RewriteRule ^.*$ db/$0 [discardpath,noescape,last]

Also available in: Unified diff