source: misc/vhost/nmcdsp.org_sam.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: 946 bytes
Line 
1# Apache Virtual Host for SAM 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 sam.nmcdsp.org
13
14        ErrorLog /var/log/apache2/sam-error.log
15        CustomLog /var/log/apache2/sam-access.log combined
16
17        <IfModule mod_rewrite.c>
18                RewriteEngine on
19                RewriteRule ^/sam-0.1.0/(.*)$ /$1 [L,PT,NC,NE]
20        </IfModule>
21
22        <IfModule mod_proxy.c>
23                <Proxy *>
24                        Order deny,allow
25                        Allow from all
26                </Proxy>
27
28                ProxyStatus On
29                ProxyPass / balancer://sam-cluster/sam-0.1.0/ stickysession=JSESSIONID|jsessionid nofailover=On
30                ProxyPassReverse / balancer://sam-cluster/sam-0.1.0/
31#               ProxyPass / ajp://localhost:8009/sam-0.1.0/
32#               ProxyPassReverse / ajp://localhost:8009/sam-0.1.0/
33                ProxyPassReverseCookiePath /sam-0.1.0 /
34
35                <Proxy balancer://sam-cluster>
36                        BalancerMember ajp://localhost:8009
37                </Proxy>
38        </IfModule>
39</VirtualHost>
Note: See TracBrowser for help on using the repository browser.