Can you not modify the ProxyPass and ProxyPassReverse directives? Something like: ProxyPass /zope/ http://erebus:8080/zope/erebus_plone/ ProxyPassReverse /zope/ http://erebus:8080/zope/erebus_plone/ Then all requests to http://erebus.ait.ie/zope/ get redirected to port 8080, all others are processed by Apache as normal. At least that's my understanding of the docs. Oh. Being a pedant I'd prefer: ProxyPass /zope/ http://127.0.0.1:8080/zope/erebus_plone/ ProxyPassReverse /zope/ http://127.0.0.1:8080/zope/erebus_plone/ But that's just 'cause I'd be able to see that it's looping back to the local machine. Simon Forster _____________________________________________________ LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK Tel: +44 (0)70 9230 5244 Fax: +44 (0)70 9230 5247 _____________________________________________________ On 18 Jun 2004, at 13:15, Cormac McClean wrote:
Hi,
This is a follow up to an earlier question, which involved trying to access Plone as the front page behind Apache. I got this working thanks to Simon Forster, using ProxyPass and a SiteRoot object.
However, I still need to access some cgi scripts from Apache's cgi-bin directory. Is this possible?
Here's what I have at the moment:
<VirtualHost *> ServerName erebus.ait.ie DocumentRoot "/usr/local/apache/htdocs/zope" ProxyPass / http://erebus:8080/zope/erebus_plone/ ProxyPassReverse / http://erebus:8080/zope/erebus_plone/ </VirtualHost>
When I try accessing a cgi script in /cgi-bin, I get a not found error (404).
I also tried this: ProxyPass /cgi-bin/ ! thinking that it might override the Proxying and just go to /cgi-bin, but I get an error ---
Bad Request
Your browser sent a request that this server could not understand. ---
I have tried using mod-rewrite and the Virtual Host Monster without ProxyPass, which allows me to access Apache's cgi scripts, but I don't get Plone properly. I wonder is it possible to combine ProxyPass and RewriteRules?
Thanks in advance, Cormac.
The information contained in this email is confidential and is designated solely for the attention of the intended recipient(s). If you have received this email in error, please do not use or transmit it for any purpose but rather notify us immediately and delete all copies of this email from your computer system(s). Unless otherwise specifically agreed by our authorised representative, the views expressed in this email are those of the author only and shall not represent the view of or otherwise bind Athlone Institute of Technology. Contact administrator@ait.ie or telephone 090 6471858.
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman-20/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman-20/listinfo/zope-announce http://mail.zope.org/mailman-20/listinfo/zope-dev )