RE: [cgiwrap-users] Version differences
Brought to you by:
nneul
From: Neulinger, N. <nn...@um...> - 2002-04-08 14:01:04
|
Ah, yeah, PATH_TRANSLATED, I thought you said you had a problem executing the script? The path_translated stuff might cause a problem within your code. I don't remember all the permutations unfortunately. I'm pretty sure that the more recent behavior is more correct according to the CGI specs, but I never use PATH_TRANSLATED.=20 -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 > -----Original Message----- > From: John Gilbertson [mailto:jgi...@li...]=20 > Sent: Monday, April 08, 2002 8:30 AM > To: Neulinger, Nathan > Cc: cgi...@li... > Subject: Re: [cgiwrap-users] Version differences >=20 >=20 > On Mon, 8 Apr 2002, Nathan Neulinger wrote: >=20 > >Nothing should have changed that would cause that. I would suggest > >double checking permissions on the path up to the script. It=20 > sounds like > >it isn't successfully locating the script. >=20 > All of the permissions are correct across both versions. >=20 > >Also, you might include the cgiwrapd output and look it over=20 > for how it > >decoded the path to the script. I tried running the URL's,=20 > but it gave > >the access control error. >=20 > The differences between the two versions whch looks like it causes the > problem is in the PATH_TRANSLATED variabel just before runing the CGI: >=20 > 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' >=20 > 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' >=20 > The second seems to assume a different prefix for the=20 > PATH_INFO than the > first. >=20 > I've attached copies of both cgiwrapd outputs. >=20 > Thanks > John >=20 |