22 Jul
2004
22 Jul
'04
7:08 p.m.
Holger Butschek wrote at 2004-7-21 10:53 +0200:
I have configured my Apache2-script now as follows:
<VirtualHost butschekconsult.dyndns.org>DocumentRoot /srv/www/htdocs
ServerName butschekconsult.dyndns.org
<IfModule mod_rewrite.c>
RewriteEngine On
# the following needs to be writeable by Apache
## every other URL is fetched from Zope
RewriteRule ^/(.*) http://butschekconsult.dyndns.org:8080/butschek-consult.de ... ^^^^^^^^^^^^^^^^^^^
This looks strange (not to say "wrong"). Usually, you have the VHM in your root folder and then rewrite rules look like: RewriteRule ... http://localhost:8080/VirtualHostBase/http/domain:80/local_path/VirtualHostR...... -- Dieter