source: misc/vhost/nmcdsp.org_nmcdsp-www.conf @ 1007

Last change on this file since 1007 was 1007, checked in by j.a.m.wesbeek@…, 13 years ago
  • updated existing vhosts to reflect changes in domain naming
  • added new vhosts for test and production
  • Property svn:executable set to *
File size: 1.0 KB
Line 
1# Apache Virtual Host for nmcdsp Production 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 www.nmcdsp.nmcdsp.org
13        ServerAlias www.metabolomics.nmcdsp.org nmcdsp.nmcdsp.org metabolomics.nmcdsp.org
14
15        ErrorLog /var/log/apache2/nmcdsp-error.log
16        CustomLog /var/log/apache2/nmcdsp-access.log combined
17
18        <IfModule mod_rewrite.c>
19                RewriteEngine on
20                RewriteRule ^/nmcdsp-0.1.0/(.*)$ /$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://nmcdsp-cluster/nmcdsp-0.1.0/ stickysession=JSESSIONID|jsessionid nofailover=On
31                ProxyPassReverse / balancer://nmcdsp-cluster/nmcdsp-0.1.0/
32#               ProxyPass / ajp://localhost:8009/nmcdsp-0.1.0/
33#               ProxyPassReverse / ajp://localhost:8009/nmcdsp-0.1.0/
34                ProxyPassReverseCookiePath /nmcdsp-0.1.0 /
35
36                <Proxy balancer://nmcdsp-cluster>
37                        BalancerMember ajp://localhost:8009
38                </Proxy>
39        </IfModule>
40</VirtualHost>
Note: See TracBrowser for help on using the repository browser.