[Zope] Virtual Host Monster, mod_rewrite not quite working
Timothy Wilson
wilson@visi.com
Thu, 14 Jun 2001 11:39:51 -0500 (CDT)
Hey everyone,
I'm trying to use a Virtual Host Monster along with Apache's mod_rewrite to
publish some static content along with mostly Zope content. I've followed
the How-To at http://www.zope.org/Members/mwr/VHosts_With_Zope_Default but I
can't get it to work quite right. Here's the relevant section from
httpd.conf:
<VirtualHost 206.131.108.110>
ServerName mendota.isd197.org
DocumentRoot /var/www/district
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteLog "/var/log/apache/rewrite_log"
RewriteLogLevel 1
RewriteRule ^/webalizer/ - [L]
RewriteRule
^/(.*) http://localhost:8080/VirtualHostBase/http/www.mendota.isd197.org/mendota/VirtualHostRoot/$1
[P]
</IfModule>
</VirtualHost>
As you can see, I've got some Webalizer statistics I'd like to include along
with the rest of the Zope stuff.
The problem is that visiting http://www.isd197.org/mendota/ works perfectly,
but http://mendota.isd197.org/ doesn't. In the second case, the main graphic
on the page isn't visible. Any hints?
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.org | http://www.zope.org
W. St. Paul, MN | | http://slashdot.org
wilson@visi.com | <dtml-var pithy_quote> | http://linux.com