[Zope] Apache + Zope + Authentication
thomas@hentschel.net
thomas@hentschel.net
Sun, 14 Nov 1999 20:04:48 -0800 (PST)
On 14 Nov, Erick Mechler wrote:
>
> Relevant section from httpd.conf:
> ---------------------------------
>
> <Directory "/">
> Options FollowSymLinks
> AllowOverride None
> Order deny,allow
> Deny from all
> # allows Apache to pass authentication headers to zope
> RewriteEngine on
> RewriteCond %{HTTP:Authorization} ^(.*)
> RewriteRule ^/(.*) $1 [ENV=HTTP_CGI_AUTHORIZATION:%1]
try RewriteRule ^/Zope(.*) /path/to/your/cgi-bin/Zope.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-c
gi,l], looks like you're not passing your info to Zope.cgi. The url to
your zope site would then be machine.domain.tld/Zope/.
you should also need a Options ExecCGI somewhere in that directory.
> </Directory>
>
> RewriteLog /var/log/apache/rewrite_log
> RewriteLogLevel 9
take a look into your rewrite.log, it will probably tell you what's
wrong. Also, what OS/version and version of Apache are you running ?
-Th