[Zope] Apache + Zope + Authentication

thomas@hentschel.net thomas@hentschel.net
Mon, 15 Nov 1999 20:16:24 -0800 (PST)


On 15 Nov, Erick Mechler wrote:
> :: not sure if the '+' is the right thing, but I meant that you need a
> :: Options ExecCGI on your cgi-bin directory. Sorry if that wasn't all
> :: clear
> 
> Yeah, the "+" syntax is correct (apache.org/docs/mod/core.html#options)
> 
> :: next time you try, paste the relevant part of your rewrite log. That
> :: normally gives some clues....
> 
> Here is the output to the rewrite log (level 9) as a result of me going to
> http://hal.rescomp.berkeley.edu/cgi-bin/Zope.cgi, and clicking on the

that looks like a SSL server to me, not sure if auth info gets properly
passed w/ SSL.

Also, try http://hal.rescomp.berkeley.edu/Zope/ and
http://hal.rescomp.berkeley.edu/Zope/manage, and then look at the
rewrite log to see how it matches things up. It should (depending on the
apache version) look like :

192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) init re
write engine with requested uri /Zope/
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (3) applyin
g pattern '^/Zope(.*)' to uri '/Zope/'
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (4) Rewrite
Cond: input='' pattern='^(.*)' => matched
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) rewrite
 /Zope/ -> /usr/local/www/cgi-bin/Zope.cgi/
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (5) setting
 env variable 'HTTP_CGI_AUTHORIZATION' to ''
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) remembe
r /usr/local/www/cgi-bin/Zope.cgi/ to have MIME-type 'application/x-httpd-cgi'
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (2) local p
ath result: /usr/local/www/cgi-bin/Zope.cgi/
192.168.1.3 - - [27/Oct/1999:22:49:57 -0700] [dorothy.hentschel.net/sid#ab034][rid#e4034/initial] (1) go-ahea
d with /usr/local/www/cgi-bin/Zope.cgi/ [OK]

> 
> mod_rewrite is in there.

ok, just making sure :)

-Th