different content from 9673 and CGI version of database!
Hi all, This is weird, I have a Zope server running on port 9673 on a machine. I also have an Apache rewrite rule that starts up a pcgi_publisher.py process. The rewrite rule points to the right cgi and the Apache web server logs show that things are happening. My rewrite rule is; RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^/(.*) /home/nnle/cgi-bin/Zope.cgi/$1 [e=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l] The file /home/nnle/cgi-bin/Zope.cgi is; #!/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/pcgi/bin/pcgi-wrapper PCGI_NAME=Main PCGI_MODULE_PATH=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/lib/p ython/Main.py PCGI_PUBLISHER=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/pcgi/pc gi_publisher.py PCGI_EXE=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/bin/python PCGI_SOCKET_FILE=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/var/pcgi.soc PCGI_PID_FILE=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/var/pcgi.pid PCGI_ERROR_LOG=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/var/pcgi.log PCGI_DISPLAY_ERRORS=1 PYTHONHOME=/home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc BOBO_REALM=Zope BOBO_DEBUG_MODE=1 and the directory /home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/ contains the var directory with my Data.bbb file in it. I'm *almost certain* that I'm using the same Data.bbb file (I say 'almost' because I can't figure it any other way). The Apache URL gives the location as: /home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/var/Data.bbb and the 9673 URL gives the location as: /home/nnle/zope/Zope-1.10.2-solaris-2.5.1-sparc/var/Data.bbb But the content is *different* depending on whether I use the Apache URL and the port 9673 URL. Can anyone give me a clue as to what stupid thing I've done now? (sigh). Tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
participants (1)
-
Tony McDonald