[Zope] VHM and proxypass (again)

Dylan Reinhardt zope@dylanreinhardt.com
27 Mar 2003 07:19:28 +0000


Instead of chasing down every sub-folder you might use, try replacing
what you've got with:

-------

ProxyPass /
http://localhost:8080/VirtualHostBase/http/mymachine.no:80/VirtualHostRoot/

ProxyPassReverse /
http://localhost:8080/VirtualHostBase/http/mymachine.no:80/VirtualHostRoot/

-------

That doesn't do anything to restrict access to Zope, it just passes off
requests.  If you want to do more sophisticated pattern matching, you're
probably going to want to look into RewriteRule.

HTH,

Dylan



On Thu, 2003-03-27 at 10:32, Einar Nęss Jensen wrote:
> I have put  a VHM in my root-folder and i have these proxypass-rules in 
> httpd.conf for apache:
> 
> ProxyPass /test_fak 
> http://localhost:8080/VirtualHostBase/http/mymachine.no:80/test_fak/
> ProxyPass /hf http://localhost:8080/VirtualHostBase/http/mymachine.no:80/hf/
> ProxyPass /zope_info 
> http://localhost:8080/VirtualHostBase/http/mymachine.no:80/zope_info/
> ProxyPass /testing_fakultet 
> http://localhost:8080/VirtualHostBase/http/mymachine.no:80/testing_fakultet/
> ProxyPass /postjournal 
> http://localhost:8080/VirtualHostBase/http/mymachine.no:80/postjournal/
> ProxyPass /Control_panel 
> http://localhost:8080/VirtualHostBase/http/mymachine.no:80/Control_Panel
> ProxyPass /misc_ 
> http://localhost:8080/VirtualHostBase/http/mymachine.no:80/misc_
> ProxyPass /p_ http://localhost:8080/VirtualHostBase/http/mymachine.no:80/p_
> 
> 
> This works ALMOST perfect.
> I have two issues:
> 
> when inside ZMI, i get something like 
> this:http://mime.hf.ntnu.no:8080/test/wrong_ZMI/
> 
> 1: so I guess i have a wrong redirect for my zclasses icons.
> AND
> 2: The stylesheet for the ZMI is not loading.
> 
> What can I do to fix this?
> I fixed it once by adding a siteroot, but that totally screweed up my 
> webdav connections (duplicating folders and files), and is not an option.
> 
> Best regards
> 
> Einar Nęss Jensen
> 
>