[Zope] VHM + apache + images

Steve Spicklemire steve@spvi.com
Thu, 27 Dec 2001 05:56:51 -0500


Hi Dean,

	You're rewrite rule looks ok. Do you get any clues in the =
rewrite=20
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>
> =A0 ServerName www.wells.com.au
> =A0 DocumentRoot /home/www.wells.com.au
> =A0 <IfModule mod_rewrite.c>
> =A0=A0=A0 RewriteEngine On
> =A0=A0=A0 RewriteLog "/var/log/apache/rewrite_log"
> =A0=A0=A0 RewriteLogLevel 1
> RewriteRule ^/(.*)
> http://203.31.212.17:9080/VirtualHostBase/http/www.wells.com.a
> u:80/wells/VirtualHostRoot/$1 [P]
> =A0 </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.
>