source: misc/vhost/nmcdsp.org_nmcdsp-ci.conf @ 1086

Last change on this file since 1086 was 1086, checked in by work@…, 10 years ago
  • updated apache configuration
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1# Apache Virtual Host for nmcdsp Continuous Integration 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 ci.nmcdsp.nmcdsp.org
13        ServerAlias ci.metabolomics.nmcdsp.org nmcdsp.nmcdsp.org metabolomics.nmcdsp.org
14
15        ErrorLog /var/log/apache2/nmcdsp-ci-error.log
16        CustomLog /var/log/apache2/nmcdsp-ci-access.log combined
17
18        <IfModule mod_rewrite.c>
19                RewriteEngine on
20                RewriteRule ^/nmcdsp-0.1.0-ci/(.*)$ /$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-ci/ stickysession=JSESSIONID|jsessionid nofailover=On
31                ProxyPassReverse / balancer://nmcdsp-cluster/nmcdsp-0.1.0-ci/
32#               ProxyPass / ajp://localhost:8009/nmcdsp-0.1.0-ci/
33#               ProxyPassReverse / ajp://localhost:8009/nmcdsp-0.1.0-ci/
34                ProxyPassReverseCookiePath /nmcdsp-0.1.0-ci /
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.