[Zope] Apache being troublesome

mh mh at mhhq.com
Wed Dec 10 21:56:13 EST 2003


Hello,

I'm a new user to Zope and I've got Apache more or less configured to
work as a proxy, but it works only for requests in the top level of a
particular domain. My httpd.conf is thus:

<VirtualHost 216.127.74.118>
ServerName      external_name.com
RewriteEngine   On
RewriteRule ^/(.*) \ 
http://www.external_name.com:8080/internal_name.com/www/$1 [P]
</VirtualHost>

Requests for (say) www.external_name/img/img.gif get rewritten as
referring to external_name.com:8080/img/emailimg.gif which isn't really
useful.

Whilst this is strictly speaking an Apache issue and not Zope, I'm sure
I'm not the first to come across this problem with Apache proxying to
Zope. mod_rewrite was compiled into httpd especially for Zope, so the
above is my entire experience with it.

Any hints very much appreciated!

mh



More information about the Zope mailing list