[Zope] strange PCGI installation problem
Reinoud van Leeuwen
reinoud.v@n.leeuwen.net
Mon, 18 Feb 2002 13:57:01 +0100
On Sun, Feb 17, 2002 at 11:19:47PM +0100, Reinoud van Leeuwen wrote:
> Hi,
>
> I am trying to set up Zope behind apache with PCGI. Apache runs, Zope runs
> and they talk to each other over a unix socket.
>
> The strange thing is that when I try to connect to the root directory of
> my zope site (www.mydomain.com) I get a Apache directory listing. Thus it
> seems like Zope is not running. However, when I use the URL
> www.mydomain.com/manage I get the login promt and the management screens.
>
> Has anyone ever seen something like this before (and solved it?)
>
> TIA,
>
>
Further investigation of the logs reveal that when Apache gets a "GET /"
it is not sent to Zope at all:
*** /usr/local/WWW/www.mydomain.com/log/access_log ***
194.109.0.126 - - [18/Feb/2002:13:51:35 +0100] "GET / HTTP/1.1" 200 667
"-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)"
194.109.0.126 - - [18/Feb/2002:13:51:35 +0100] "GET /icons/folder.gif
HTTP/1.1" 404 1846 "http://www.mydomain.com" "Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 5.0; T312461)"
194.109.0.126 - - [18/Feb/2002:13:51:35 +0100] "GET /icons/blank.gif
HTTP/1.1" 404 1846 "http://www.mydomain.com" "Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 5.0; T312461)"
194.109.0.126 - - [18/Feb/2002:13:51:35 +0100] "GET /icons/back.gif
HTTP/1.1" 404 1846 "http://www.mydomain.com" "Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 5.0; T312461)"
*** /usr/local/WWW/www.mydomain.com/var/Z2.log ***
127.0.0.1- - [18/Feb/2002:12:51:35 +0200] "GET /icons/folder.gif" 404 2146
127.0.0.1- - [18/Feb/2002:12:51:35 +0200] "GET /icons/blank.gif" 404 2146
127.0.0.1- - [18/Feb/2002:12:51:35 +0200] "GET /icons/back.gif" 404 2146
(ignore the 1 hour difference in the log, it seems that one of the daemons
is logging in GMT ";-)
--
__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen reinoud.v@n.leeuwen.net
http://www.xs4all.nl/~reinoud
__________________________________________________