[Zope] Apache to Zope/Plone with ProxyPass - how can I get Apache cgi scripts?

Cormac McClean cmcclean at ait.ie
Fri Jun 18 08:15:43 EDT 2004


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 at 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 
______________________________________________________________________



More information about the Zope mailing list