source: misc/vhost/nmcdsp.org_hudson.conf @ 839

Last change on this file since 839 was 839, checked in by duh, 13 years ago

add / modified nmcdsp virtual hosts configuration files

  • Property svn:executable set to *
File size: 960 bytes
Line 
1# Apache Virtual Host for hudson
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 hudson.nmcdsp.org
13        ServerAlias hudsonofabitch.nmcdsp.org
14
15        ErrorLog /var/log/apache2/hudson-error.log
16        CustomLog /var/log/apache2/hudson-access.log combined
17
18        <IfModule mod_rewrite.c>
19                RewriteEngine on
20                RewriteRule ^/hudson/(.*)$ /$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://hudson-cluster/hudson/ stickysession=JSESSIONID|jsessionid nofailover=On
31                ProxyPassReverse / balancer://hudson-cluster/hudson/
32#               ProxyPass / ajp://localhost:8009/hudson/
33#               ProxyPassReverse / ajp://localhost:8009/hudson/
34                ProxyPassReverseCookiePath /hudson /
35
36                <Proxy balancer://hudson-cluster>
37                        BalancerMember ajp://localhost:8009
38                </Proxy>
39        </IfModule>
40</VirtualHost>
Note: See TracBrowser for help on using the repository browser.