root/misc/vhost/dbnp.org_gscf-test.conf @ 1132

Revision 1132, 1.0 KB (checked in by work@…, 3 years ago)

adding dbnp apache vhost configuration

  • Property svn:executable set to *
Line 
1# Apache Virtual Host for GSCF Test Build
2#
3# Author        Jeroen Wesbeek <J****n.W******@gmail.com>
4# Since         20100825
5#
6# Revision Information:
7# $Authoe$
8# $Date$
9# $Rev$
10#
11<VirtualHost *:80>
12        ServerName test.dbnp.org
13        ServerAlias test.gscf.dbnp.org
14
15        ErrorLog /var/log/apache2/dbnp.org_gscf-test-error.log
16        CustomLog /var/log/apache2/dbnp.org_gscf-test-access.log combined
17
18        <IfModule mod_rewrite.c>
19                RewriteEngine on
20                RewriteRule ^/gscf-0.6.0-dbnp-test/(.*)$ /$1 [L,PT,NC,NE]
21        </IfModule>
22
23        <IfModule mod_proxy.c>
24                <Proxy *>
25                        Order deny,allow
26                        Allow from all
27                </Proxy>
28
29                ProxyStatus On
30                ProxyPass / balancer://gscf-cluster/gscf-0.6.0-dbnp-test/ stickysession=JSESSIONID|jsessionid nofailover=On
31                ProxyPassReverse / balancer://gscf-cluster/gscf-0.6.0-dbnp-test/
32#               ProxyPass / ajp://localhost:9009/gscf-0.6.0-dbnp-test/
33#               ProxyPassReverse / ajp://localhost:9009/gscf-0.6.0-dbnp-test/
34                ProxyPassReverseCookiePath /gscf-0.6.0-dbnp-test /
35
36                <Proxy balancer://gscf-cluster>
37                        BalancerMember ajp://localhost:9009
38                </Proxy>
39        </IfModule>
40</VirtualHost>
Note: See TracBrowser for help on using the browser.