[Zope] Virtual Host Monster, mod_rewrite not quite working

Mike Renfro renfro@tntech.edu
Thu, 14 Jun 2001 15:37:43 -0500


On Thu, Jun 14, 2001 at 11:39:51AM -0500, Timothy Wilson wrote:

> 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?

The real symptom is that the img tag in the working version is
referring to http://www.isd197.org/mendota/ME_header, and in the
non-working version, it's referring to http://www.isd197.org/ME_header
- The base href tag is tied in with that, and is similar
(http://www.isd197.org/mendota/ in the working version).

I'd check the rewrite log -- A pair of working log entries from mine include:

Apache-served content:

212.142.29.83 - - [14/Jun/2001:01:03:58 -0500] [www.cae.tntech.edu/sid#80b4514][rid#809de84/initial] (1) pass through /~mwr/zope_2.3.2-2_i386.deb

Zope-served content (for www.cae.tntech.edu/help/):

129.79.17.223 - - [14/Jun/2001:12:51:08 -0500] [www.cae.tntech.edu/sid#80b4514][rid#809de84/initial] (1) go-ahead with proxy request proxy:http://localhost:9673/VirtualHostBase/http/www.cae.tntech.edu:80/CAE/VirtualHostRoot/help/ [OK]

Compare with yours, and we'll see what turns up.

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu