parser

Post answer on current message

 

 
   search options

we've got it

Александр Петросян (PAF) 25.04.2005 15:39 / 25.04.2005 15:41

see this?
PATH_TRANSLATED= /html/_test.html 
show it to your administrator and ask he/she, why on earth the webserver violates CGI specification?

http://hoohoo.ncsa.uiuc.edu/cgi/env.html
PATH_TRANSLATED
The server provides a translated version of PATH_INFO, which takes the path and does any virtual-to-physical mapping to it.
if you have no time to argue, just put this into file "parser3.wrapper.cgi":
#!/bin/sh

#in one line!
PATH_TRANSLATED=$DOCUMENT_ROOT$PATH_INFO ./parser3.cgi
check that EOL style is UNIX (one character, code=0A).
make it executable,
and assign it as a handler of .html files.