source: misc/vhost/dbnp.org_demo.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: 693 bytes
Line 
1# Apache Virtual Host for GSCF demo 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 demo.dbnp.org
14        ServerAlias dbnp-demo.osx.eu
15
16        ErrorLog /var/log/apache2/dbnp-demo-error.log
17        CustomLog /var/log/apache2/dbnp-demoo-access.log combined
18       
19        ServerAdmin jeroen.wesbeek@gmail.com
20
21        <IfModule mod_jk.c>
22                JkMount /* gscf
23        </IfModule>
24
25        <IfModule mod_rewrite.c>
26                RewriteEngine on
27                RewriteLog "/var/log/apache2/domain-rewrite.log"
28               
29                RewriteRule ^/gscf-([0-9\.]{1,})-demo(.*)$ $2 [NC,NE]
30                RewriteRule ^/(.*)$ /gscf-0.4.3-demo/$1 [L,PT,NC,NE]
31        </IfModule>
32
33</VirtualHost>
Note: See TracBrowser for help on using the repository browser.