[Zope] VHM + apache + images

Dean Grubb dean@atrium-online.com.au
Thu, 27 Dec 2001 22:23:27 +1100 (Tasmania Daylight Time)


Sorry about the HTML

here's an example of what I usally get in the log file

139.130.218.190 - - [27/Dec/2001:18:57:56 +1100] [www.wellsandsons.com
au/sid#80af064
][rid#80f186c/initial] (1) go-ahead with proxy request proxy:http://203.31
212.17:908
0/VirtualHostBase/http/www.wellsandsons.com
au:80/wells/VirtualHostRoot/images/sunbur
st_logo.gif [OK]

not sure really how to read this but it does say [OK] :)

dean





-------Original Message-------
From: Steve Spicklemire
Date: Thursday, December 27, 2001 21:57:00
To: Dean Grubb
Cc: Steve Spicklemire; zope@zope.org
Subject: Re: [Zope] VHM + apache + images
Hi Dean,
You're rewrite rule looks ok. Do you get any clues in the rewrite 
log, or the access_log?
-steve
P.S. HTML is generally discouraged on this list.
On Thursday, December 27, 2001, at 12:16 AM, Dean Grubb wrote:
> Hi,
>
> I'am having problems with VHM, Apache and images, my rewrite
> statement is straight from the zope site..
>
> NameVirtualHost 203.31.212.17
> <VirtualHost www.wells.com.au>
> ServerName www.wells.com.au
> DocumentRoot /home/www.wells.com.au
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteLog "/var/log/apache/rewrite_log"
> RewriteLogLevel 1
> RewriteRule ^/(.*)
> http://203.31.212.17:9080/VirtualHostBase/http/www.wells.com.a
> u:80/wells/VirtualHostRoot/$1 [P]
> </IfModule>
> </VirtualHost>
>
> I have a VHM in my zope root with domain wells.com.au mapped to /wells
>
> the problem is all the html files get found ok but none of the images
> are displayed. My images or in /wells/images directory. Right
> clicking on the graphic shows that the graphic location is
> http://www.wells.com.au/images/somthing.gif
>
> If I do a http://203.31.212.17:9080/wells then everthing is ok.
>