News | FAQ | Authors | Documentation | In action | Library |
Utils | Hosters | Download | Examples | Forum |
Александр Петросян (PAF) 25.04.2005 15:39 / 25.04.2005 15:41
see this?PATH_TRANSLATED= /html/_test.htmlshow it to your administrator and ask he/she, why on earth the webserver violates CGI specification?
PATH_TRANSLATEDif you have no time to argue, just put this into file "parser3.wrapper.cgi":
The server provides a translated version of PATH_INFO, which takes the path and does any virtual-to-physical mapping to it.
#!/bin/sh #in one line! PATH_TRANSLATED=$DOCUMENT_ROOT$PATH_INFO ./parser3.cgicheck that EOL style is UNIX (one character, code=0A).