[Zope] - Pb with Apache (authentication)
Paul Everitt
Paul@digicool.com
Thu, 31 Dec 1998 10:31:07 -0500
Ronan--
Apache 1.2.6's mod_rewrite doesn't work for passing authentication
headers. If you can't upgrade to Apache 1.3.3, then take a look at our
*UNSUPPORTED* patch for Apache:
ftp://ftp.digicool.com/pub/releases/ServerPatches/
--Paul
> -----Original Message-----
> From: Ronan BARZIC [mailto:barzic@worldnet.fr]
> Sent: Thursday, December 31, 1998 7:54 AM
> To: zope@zope.org
> Subject: [Zope] - Pb with Apache (authentication)
>
>
> Hello,
>
> I've a problem with Zope 1.0.9 (source distribution) with
> authentication.
> I'am using Apache 1.2.6 from a RedHat 5.1 distribution with the
> standard configuration files plus the the rewrite Rule in httpd.conf :
> RewriteEngine on
> RewriteLog /etc/httpd/logs/rewrite.log
> RewriteLogLevel 9
> RewriteCond %{HTTP:Authorization} ^(.*)
> RewriteRule ^/Zope/(.*) /home/httpd/cgi-bin/Zope.cgi/$1
> [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
>
> For testing, i've installed Zope under the
> /home/httpd/Zope-1.9.0-src
> and a link with /home/hhtpd/Zope.lnk
> Zope.cgi is in the cgi-bin directory
>
> The URL //mymachine/cgi-bin/Zope.cgi gives the welcome page
> The URL //mymachine/cgi-bin/Zope.cgi/manage asks the
> superuser name and
> the password but it faills
>
> The URL //mymachine/Zope/manage asks the superuser name
> and the password
> but it faills. The log for the rewrite rule seems to be
> correct (and it
> works...)
>
> httpd runs as nobody.
> access file is owned by nobody with read and write access.
> ls-l var gives :
> total 26
> -rw-rw-rw- 1 nobody nobody 10780 Dec 30
> 17:22 Data.bbb
> -rw-rw-rw- 1 nobody nobody 7789 Dec 30 17:11
> Data.bbb.in
> -rw-r--r-- 1 nobody nobody 9 Dec 30 17:22
> Data.bbb.trans
> drwxrwxrwx 3 nobody nobody 1024 Dec 30
> 17:21 gadfly
> -rw-rw-rw- 1 nobody nobody 3135 Dec 30
> 17:21 pcgi.log
> -rw-rw-rw- 1 nobody nobody 4 Dec 30
> 17:22 pcgi.pid
> srwxrwxrwx 1 nobody nobody 0 Dec 30
> 17:22 pcgi.soc
>
> ls -l access gives :
> -rwxrw-rw- 1 nobody nobody 16 Dec 30 18:12 access
>
>
>
> Thank you
>
> Ronan BARZIC
> barzic@worldnet.fr
>
>
>
>
>
>
>