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.