[Zope] FW: PCGI
Rob Page
rob.page@digicool.com
Mon, 7 Jun 1999 07:44:30 -0400
> > Hi again. I'm going ask you a very basic question, but
> before that, I
> > have...
> >
> > Red Hat 2.0, Python 1.52, Apache 1.3.6
> > extracted Zope-2.0.0a1-src.tgz at /usr/local/src by
> > - python w_pcgi.py
> > - chmod -R 777 var (I'm in /usr/local/srcZope-2.0.0a1-src)
> > - copy Zope.cgi to /www/ww.it.pru/cgi-bin
> > added this entry in httpd.conf :
> > # Zope configuration maps /Zope/ to the Zope.cgi CGI script
> > RewriteEngine on
> > RewriteCond %{HTTP:Authorization} ^(.*)
> > RewriteRule ^/Zope/(.*) /www/www.it.pru/Zope.cgi/$1
> > [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
> > Anyway, is the placing in the httpd.conf important? I
> suspect the
> error
> > is in the RewriteRule.
I think you're right.
You said:
> > - copy Zope.cgi to /www/ww.it.pru/cgi-bin
and then
> > RewriteRule ^/Zope/(.*) /www/www.it.pru/Zope.cgi/$1
Looks like you're missing the cgi-bin part!
--Rob