[Zope] rewrite and access

Jens Vagelpohl tommymi@concentric.net
Tue, 4 Jan 2000 22:35:06 -0500


hi guy,

what you're experiencing could be alleviated by following this little tip on
the zope site:

http://www.zope.org/Members/jens/docs/suse_cgi

SuSE linux comes with an apache configuration file that does not allow cgi
scripts to be executed in the designated cgi-bin directory. how's that for
intelligent? even if you don't have SuSE you might want to check your
httpd.conf for that.

jens


> -----Original Message-----
> From: davis@arc.ab.ca [mailto:davis@arc.ab.ca]
> Sent: Tuesday, January 04, 2000 19:27
> To: Zope@zope.org
> Subject: [Zope] rewrite and access
>
>
> 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 )
>
>