Dear All, got an installation problem. This is with the new release on last Friday Dec 11. I am using Apache 1.3.0 on Linux 2.0.34 (RedHat 5.0) on a Pentium box. I have apache run on port 80 and wishes to place Zope on it. Here are the steps that I did: -- copy the mod_rewrite directives from the instruction to httpd.conf -- copy the <Location> directive to authenticate /cgi-bin/Zope -- create the password file with htpasswd -- copy the Zope.cgi to the appropriate /cgi-bin directory I am hoping to run Zope with Apache on regular port 80 and so I restart httpd and try http://mymachine/cgi-bin/Zope/manage I did get the authenticate box, and I got thru and the browser runs for about 15 secs and then I got a resource unavailable (102) fail to connect error. The page seems to be generated by Zope. I wonder if there is something else that I need to fire up on the Zope side. I dug thru the help files, no mention of anything. I did try the python web server and access Zope that way, it works fine though. Any comments on what I did to make Apache and Zope runs? Maybe I miss a step?? thanks -Vincent Warm Regards Vincent Yau Mpath Interactive http://www.mplayer.com
On Mon, 14 Dec 1998, Vincent Yau wrote:
Here are the steps that I did:
-- copy the mod_rewrite directives from the instruction to httpd.conf
I assume you also restarted apache.
-- copy the <Location> directive to authenticate /cgi-bin/Zope -- create the password file with htpasswd -- copy the Zope.cgi to the appropriate /cgi-bin directory
I am hoping to run Zope with Apache on regular port 80 and so I restart httpd and try
http://mymachine/cgi-bin/Zope/manage
I did get the authenticate box, and I got thru and the browser runs for about 15 secs and then I got a resource unavailable (102) fail to connect error.
The page seems to be generated by Zope. I wonder if there is something else that I need to fire up on the Zope side. I dug thru the help files, no mention of anything.
Make sure apache has write permission to the Zope 'var/' directory. Apache runs as the user 'nobody' by default. For testing purposes, just make the Zope var directory world writable (chmod 777 var) and give it another try. Just as a general rule of thumb, the '102 fail to connect' errors are often caused by permission problems such as this. They should be the first thing you check after receiving this error. --- John Eikenberry [jae@taos.kavi.com - http://taos.kavi.com/~jae/] ______________________________________________________________ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B. Franklin
[Vincent Yau]
got an installation problem. This is with the new release on last Friday Dec 11.
We have the same software installed.
-- copy the mod_rewrite directives from the instruction to httpd.conf
Under Solaris 5.6 using Apache 1.3.3, we couldn't get the rewrite rule as given in the documentation to work. We kept getting Zope telling us that it wasn't getting the auth headers. There were no apache or pcgi errors. We used: <Directory /> Options FollowSymLinks AllowOverride None RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/Zope/ - [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] </Directory> And this works. Richard -- Richard Jones, developer for the Fulcrum Consulting Group. (03) 9621 2100 http://www.fulcrum.com.au/ http://alumni.dgs.monash.edu.au/~richard/
participants (3)
-
John Eikenberry -
richard.jones@fulcrum.com.au -
Vincent Yau