[Zope] rewrite and access
Chris McDonough
chrism@digicool.com
Tue, 04 Jan 2000 19:50:30 -0500
Guy,
Sorry about the lack of response. The list has a lot of volume lately
and its difficult for the community to keep up with everything.
Not being much of a subject matter expert on Zope/Apache integration, I
can only take a stab at helping you with your problem, but here goes:
What does the portion of your httpd.conf that has the lines
<Directory /home/httpd/cgi-bin>
.
.
</Directory>
look like?
Here's mine:
<Directory "/usr/local/apache/cgi-bin">
Options FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Does yours look similar? Notably, do you have the ExecCGI option on the
Options line?
Guy Davis wrote:
>
> I am repeating my earlier question as an answer (or lack thereof) will
> likely determine whether our development team uses Zope to manage
> project documentation.
>
> I got rid of the rpm's and am now using Zope 2.12. I can access ZServer
> over 8080, I can bring up /cgi-bin/Zope.cgi thru Apache, but mod_rewrite
> is not working.
>
> As soon as I turn rewrite on with the following in httpd.conf:
> RewriteEngine on
> RewriteLogLevel 9
> RewriteLog /var/log/httpd/rewrite_log
> RewriteCond %{HTTP:Authorization} ^(.*)
> RewriteRule ^(.*) /home/httpd/cgi-bin/Zope.cgi$1 \
> [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
>
> All I get is the an access denied error message, and the following in
> the error_log:
> [Tue Jan 4 17:15:41 2000] [error] [client 128.144.2.51] Options ExecCGI
> is off in this directory: /home/httpd/cgi-bin/Zope.cgi
>
> I would love to start running through the tutorial etc, but I need
> Apache (for SSL) and therefore need this rewriting trick to work.
> Thanks in advance for any help.
>
> --
> Guy Davis mailto:davis@arc.ab.ca
> (403) 210-5334 Alberta Research Council
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
Chris McDonough
Digital Creations, Inc.
Zope - http://www.zope.org