Re: [cgiwrap-users] Version differences
Brought to you by:
nneul
From: John G. <jgi...@li...> - 2002-04-08 13:29:42
|
On Mon, 8 Apr 2002, Nathan Neulinger wrote: >Nothing should have changed that would cause that. I would suggest >double checking permissions on the path up to the script. It sounds like >it isn't successfully locating the script. All of the permissions are correct across both versions. >Also, you might include the cgiwrapd output and look it over for how it >decoded the path to the script. I tried running the URL's, but it gave >the access control error. The differences between the two versions whch looks like it causes the problem is in the PATH_TRANSLATED variabel just before runing the CGI: Working: Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/cgi-bin/cgiwrapd/sbyrne/htmSQL' PATH_INFO: '/www/sbyrne/sasweb/packageusage.hsql' PATH_TRANSLATED: '/usr/local/etc/httpd/htdocs/www/sbyrne/sasweb/packageusage.hsql' Non working: Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/cgi-bin/cgiwrapd/sbyrne/htmSQL' SCRIPT_FILENAME: '/home/qcl/sbyrne/cgi-bin/htmSQL' PATH_INFO: '/www/sbyrne/sasweb/packageusage.hsql' PATH_TRANSLATED: '/home/qcl/sbyrne/cgi-bin/www/sbyrne/sasweb/packageusage.hsql' The second seems to assume a different prefix for the PATH_INFO than the first. I've attached copies of both cgiwrapd outputs. Thanks John |