source: misc/vhost/dbnp.org_test.conf @ 761

Last change on this file since 761 was 761, checked in by duh, 11 years ago

set keyword expansion

  • Property svn:keywords set to Author Rev Date
File size: 1.0 KB
Line 
1# Apache Virtual Host for GSCF test instance
2#
3# Author        : Jeroen Wesbeek
4# Since         : 20100801
5#
6# Revision Information:
7# $Author: duh $
8# $Date: 2010-08-02 12:57:06 +0000 (ma, 02 aug 2010) $
9# $Rev: 761 $
10#
11
12<VirtualHost *:80>
13        ServerName test.dbnp.org
14
15        ErrorLog /var/log/apache2/test.dbnp.org-error.log
16        CustomLog /var/log/apache2/test.dbnp.org-access.log combined
17       
18        ServerAdmin jeroen.wesbeek@gmail.com
19
20        DocumentRoot "/home/tomcat/apache-tomcat-6.0.26/webapps/"
21        <Location />
22                AuthType Basic
23                AuthName "GSCF TNO instance"
24                AuthUserFile /home/tomcat/authentication/users
25                AuthGroupFile /home/tomcat/authentication/groups
26                Require group tno bigcat umc
27                Order allow,deny
28                Allow from 83.80.4.00   # jeroen home
29                Allow from 137.120.15.4 # nbx5
30                Satisfy any
31        </Location>
32
33        <IfModule mod_jk.c>
34                JkMount /* gscf
35        </IfModule>
36
37        <IfModule mod_rewrite.c>
38                RewriteEngine on
39                RewriteLog "/var/log/apache2/domain-rewrite.log"
40               
41                RewriteRule ^/gscf-([0-9\.]{1,})(.*)$ $2 [NC,NE]
42                RewriteRule ^/(.*)$ /gscf-0.4.3/$1 [L,PT,NC,NE]
43        </IfModule>
44
45</VirtualHost>
46
Note: See TracBrowser for help on using the repository browser.