[Zope] Apache being troublesome (correction of typo)

mh mh at mhhq.com
Wed Dec 10 22:00:04 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 www.external_name.com:8080/img/img.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!



More information about the Zope mailing list