Last change
on this file since 1086 was
1086,
checked in by work@…, 13 years ago
|
- updated apache configuration
|
-
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 |
---|
14 | #nmcdsp.nmcdsp.org metabolomics.nmcdsp.org |
---|
15 | |
---|
16 | ErrorLog /var/log/apache2/nmcdsp-error.log |
---|
17 | CustomLog /var/log/apache2/nmcdsp-access.log combined |
---|
18 | |
---|
19 | <IfModule mod_rewrite.c> |
---|
20 | RewriteEngine on |
---|
21 | RewriteRule ^/nmcdsp-0.1.0/(.*)$ /$1 [L,PT,NC,NE] |
---|
22 | </IfModule> |
---|
23 | |
---|
24 | <IfModule mod_proxy.c> |
---|
25 | <Proxy *> |
---|
26 | Order deny,allow |
---|
27 | Allow from all |
---|
28 | </Proxy> |
---|
29 | |
---|
30 | ProxyStatus On |
---|
31 | ProxyPass / balancer://nmcdsp-cluster/nmcdsp-0.1.0/ stickysession=JSESSIONID|jsessionid nofailover=On |
---|
32 | ProxyPassReverse / balancer://nmcdsp-cluster/nmcdsp-0.1.0/ |
---|
33 | # ProxyPass / ajp://localhost:8009/nmcdsp-0.1.0/ |
---|
34 | # ProxyPassReverse / ajp://localhost:8009/nmcdsp-0.1.0/ |
---|
35 | ProxyPassReverseCookiePath /nmcdsp-0.1.0 / |
---|
36 | |
---|
37 | <Proxy balancer://nmcdsp-cluster> |
---|
38 | BalancerMember ajp://localhost:8009 |
---|
39 | </Proxy> |
---|
40 | </IfModule> |
---|
41 | </VirtualHost> |
---|
Note: See
TracBrowser
for help on using the repository browser.