Ticket #7002: rvucmsfront

File rvucmsfront, 664 bytes (added by Hilbert Schraal <hilbert@…>, 17 years ago)

This site serves the media and redirects to mod_python for dynamic content

Line 
1NameVirtualHost 192.168.1.4
2<VirtualHost 192.168.1.4>
3
4 ServerAdmin admin@rvu.nl
5 ServerName sitebeheer.rvu.nl
6
7 ErrorLog /var/log/apache2/www.rvu.nl-error.log
8
9 RewriteEngine on
10
11 RewriteRule ^/([^/]+)/staging/(.*)$ /home/schraal/rvucms-media/$1/staging/$2 [L]
12 RewriteRule ^/media/(.*)$ /usr/lib/python2.4/site-packages/django/contrib/admin/media/$1 [L]
13 RewriteRule ^/appmedia/(.*)$ /home/schraal/rvucms/appmedia/$1 [L]
14 RewriteRule ^/(.*)$ http://sitebeheer.local/$1 [P]
15
16 # Possible values include: debug, info, notice, warn, error, crit,
17 # alert, emerg.
18 LogLevel debug
19
20 CustomLog /var/log/apache2/www.rvu.nl-access.log combined
21</VirtualHost>
Back to Top