[Zope] URL problems

Tim Hawes tim.hawes@ncmail.net
Mon, 19 Apr 1999 15:55:08 -0400


Michel,

I am sorry it has taken me so long to reply to your message. As a web
developer/coordinator and
Solaris systems administrator, I have been a bit swamped with other
priorities.

For a quick re-hash:

I have compile nscgi plug-in for Netscape Enterprise server v.3.61, and am
attempting to use Zope with this server and plugin. The plugin seems to
have compiled cleanly and does what it is suppose to do, except for the
fact that new images can not be created straight-forwardly, because the
url for a new image is skewed as thus:
http://foo.bar.net/Zope/production/.?%3Amethod=manage_addDTMLDocumentForm
Removing the "." between "production/" and the "?" by hand works, but this
is simply an 'out of the question' answer for something to distribute
enterprise wide.

You asked me to create a DHTML document with <!--#var REQUEST --> in the
document so that we can see what values the server passes to Zope.

Here is the outcome of that test:

form: environ: SCRIPT_NAME: '/Zope/GATE' HTTP_ACCEPT_ENCODING: 'gzip'
REMOTE_HOST:
'149.168.181.51' PCGI_NAME: 'Main' SERVER_PORT: '2333' PATH_TRANSLATED:
'/opt/https/cvs-devel/webdocs/approval/production/Test1' REMOTE_ADDR:
'149.168.181.51'
HTTP_COOKIE: 'tree-s="eJyLjjaMjQUABOIBog"; dtpref_rows="30";
dtpref_cols="65"'
PCGI_DISPLAY_ERRORS: '1' SERVER_URL: 'http://jazz.dhhs.state.nc.us:2333'
HTTP_ACCEPT_LANGUAGE: 'en' PCGI_PUBLISHER:
'/usr/local/Zope/pcgi/pcgi_publisher.py'
GATEWAY_INTERFACE: 'CGI/1.1' SERVER_NAME: 'jazz.dhhs.state.nc.us'
HTTP_CONNECTION:
'Keep-Alive' HTTP_USER_AGENT: 'Mozilla/4.5 [en] (X11; I; Linux 2.0.36
i686)'
HTTP_ACCEPT_CHARSET: 'iso-8859-1,*,utf-8' HTTP_ACCEPT: 'image/gif,
image/x-xbitmap,
image/jpeg, image/pjpeg, image/png, */*' PATH: '/usr/sbin:/usr/bin'
SERVER_PROTOCOL: 'HTTP/1.0'
HTTPS: 'OFF' PATH_INFO: '/production/Test1' HTTP_HOST:
'jazz.dhhs.state.nc.us:2333'
PCGI_PID_FILE: '/usr/local/Zope/var/pcgi.pid' PCGI_INFO_FILE:
'/opt/https/cvs-devel/cgi/Zope/GATE'
PCGI_SOCKET_FILE: '/usr/local/Zope/var/pcgi.soc' INSTANCE_HOME:
'/usr/local/Zope'
SERVER_SOFTWARE: 'Netscape-Enterprise/3.6 SP1' BOBO_REALM: 'Zope'
PCGI_MODULE_PATH:
'/usr/local/Zope/lib/python/Main.py' PCGI_EXE: '/usr/local/bin/python'
BOBO_DEBUG_MODE: '1' TZ:
'US/Eastern' REQUEST_METHOD: 'GET' PCGI_ERROR_LOG:
'/usr/local/Zope/var/pcgi.log' This is the
Test1 Document.


Let me know if I can provide any other information. I hope this can be a
simple solution.

Thanks for taking interest in my dilemna.

Tim Hawes
tim.hawes@ncmail.net