[Zope] Integrate with existing http server

Kevin Rattai kevin@uveais.ca
Wed, 18 Jun 2003 15:28:29 -0500


Moving forward, slowly...  I figured out one problem.

In OmniHTTPd, the PATH_INFO is not "preserved".  Setting perserve 
PATH_INFO on and the default web site is now coming up.  Still, there 
are path issues.  Can't get to manage or helpsys:

http://test.uveais.ca/Zope.pcgi

Zope log shows:
192.168.0.1 3509 - - [18/Jun/2003:15:21:31 -0500] "GET " 200 3370 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401"

Omni log shows:
KEVIN test.uveais.ca - [18/Jun/2003:15:21:31 -0500] "GET /zope.pcgi/p_/ZopeButton HTTP/1.1" 404 197 "http://test.uveais.ca/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401"
Error reading "O:\Zope000\zope.pcgi\p_\ZopeButton" - The system cannot find the path specified. 
KEVIN test.uveais.ca - [18/Jun/2003:15:21:31 -0500] "GET /zope.pcgi/manage_page_style.css HTTP/1.1" 404 197 "http://test.uveais.ca/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401"
Error reading "O:\Zope000\zope.pcgi\manage_page_style.css" - The system cannot find the path specified. 
KEVIN test.uveais.ca - [18/Jun/2003:15:21:31 -0500] "GET / HTTP/1.1" 200 - "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401"
[Standard CGI Launch] WorkPath: O:\Zope000 CmdLine: "O:\Zope000\pcgi\win32\pcgi-wrapper.exe" "O:\Zope000\zope.pcgi" Args:  Path Info: 


Guesses?

Kevin

On 18 Jun 2003 at 11:53, Kevin Rattai wrote:

> New to list, can't find info in archives.  I would expect this is an "old" 
> question.
> 
> Windows XP Pro, OmniHTTPd server.
> 
> Zserver runs fine:
> http://www.uveais.ca:8080/
> 
> Test site gets error:
> http://test.uveais.ca/Zope.pcgi
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Log file reference:
> 
> KEVIN test.uveais.ca - [18/Jun/2003:11:20:58 -0500] "GET /Zope.pcgi/p_/ZopeButton HTTP/1.1" 404 197 "http://test.uveais.ca/Zope.pcgi" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401"
> Error reading "O:\Zope000\Zope.pcgi\p_\ZopeButton" - The system cannot find the path specified. 
> KEVIN test.uveais.ca - [18/Jun/2003:11:20:58 -0500] "GET /Zope.pcgi HTTP/1.1" 200 - "http://test.uveais.ca/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401"
> [Standard CGI Launch] WorkPath: O:\Zope000 CmdLine: "O:\Zope000\pcgi\win32\pcgi-wrapper.exe" "O:\Zope000\Zope.pcgi" Args:  Path Info: /Zope.pcgi
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Error message:
> 
> Site Error
> 
> An error was encountered while publishing this resource.
> 
> Resource not found
> Sorry, the requested resource does not exist.
> 
> Check the URL and try again.
> 
> Resource: Zope.pcgi GET
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Zope.pcgi as follows:
> 
> #!o:\zope000\pcgi\win32\pcgi-wrapper.exe
> #
> # This PCGI info file was generated automatically by
> # the Zope installer. See the file doc/WEBSERVER.txt
> # for more information on setting up PCGI support.
> 
> PCGI_NAME=Zope
> PCGI_PORT=8090
> PCGI_MODULE_PATH=o:\zope000\lib\python\Zope
> PCGI_PUBLISHER=o:\zope000\pcgi\pcgi_publisher.py
> PCGI_EXE=o:\zope000\bin\python.exe
> PCGI_SOCKET_FILE=o:\zope000\var\pcgi.soc
> PCGI_PID_FILE=o:\zope000\var\pcgi.pid
> PCGI_ERROR_LOG=o:\zope000\var\pcgi.log
> PCGI_DISPLAY_ERRORS=1
> BOBO_REALM=Zope
> BOBO_DEBUG_MODE=1
> INSTANCE_HOME=o:\zope000
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Can anyone tell me where I went wrong?  Has anyone else got this to 
> work with OmniHTTPd?  It seems to run, just seems unable to find 
> paths...
> 
> tia,
> 
> Kevin
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )