[Zope] Zope-Apache Virtualhosting problem

Joshua Brauer joshua@brauer.org
Fri, 1 Oct 1999 07:36:50 -0600


I don't know if it will help but I use a slightly different rewrite rule.

Also you must stop and restart Zope after changing your password or it will still use the old password. On linux I use 'ps ax' to get the Zope processes and kill them (usually 2 processes in Zope 2).

RewriteCond     %{HTTP:Authorization} ^(.*)
RewriteRule     ^(.*) /cgidir/Zope.cgi$1 [e=HTTP_CGI_AUTHORIZATION:%1,E=ZOPE_RAW_URI:SCRIPT_URI,t=application/x-httpd-cgi,l]



Josh

At 2:49 PM +0200 10/1/99, Roché Compaan wrote:

>I'm trying to set up Apache and Zope with virtual hosts and I'm struggling a
>bit with the final hurdle.  I've only tried to deliver Zope pages on the one
>virtual hosts.  My entry in my apache virtual host looks like this:
>
>RewriteEngine on
>RewriteCond %{HTTP:Authorization} ^(.*)
>RewriteCond ^/Zope(*.) /home/httpd/cgi-bin/Zope.cgi/$1
>[e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
>
>When I open my browser at http://www.mydomain.com/Zope Zope does prompt me
>for a username and password.  But it does not except my username and
>password (the one displayed after you ran the zope install script).  I even
>tried to change the password with python zpasswd.py script.  I still get the
>following error:
>
>Zope Error
[...]

                                    # # #

_____________________________________________
Joshua Brauer                                         Box 915
http://www.brauer.org                          Fort Collins, CO 80522
Fax: (419) 793-4120
_____________________________________________
In flying I have learned that carelessness and overconfidence are 
usually far more dangerous than deliberately accepted risks. 
          -- Wilbur Wright in a letter to his father, September 1900 
_____________________________________________________