[cgiwrap-users] PATH_TRANSLATED in CVS version
Brought to you by:
nneul
From: san <san...@co...> - 2002-09-20 15:44:56
|
I checked out the new PATH_TRANSLATED code from the CVS version. It does not work as expected ... I don't really understand the assumpions contained in util.c about old path_translated containing old path_info, but the result is working as the 3.6 version (appending new PATH_INFO to DOCUMENT_ROOT). The standard is not clear about what PATH_TRANSLATED should be. It only talks about virtual-to-phisical mapping, but does not specify how this mapping should happen ... A long time ago I made a patch for version 3.6 so to have PATH_TRANSLATED be the PATH_INFO mapped as relative to the user's cgiDir. In this way I could use the cgi version of PHP with a double redirection to use wrapped php scripts. I don't know if this is the *right* way to go, but I think only users needs can tell it. AFAIK a couple of guys said then that the submitted patch was really needed, that they were looking for something like that. Nowadays, with the php patches that's history, but cgiwrap should not be tight to a preprocessor the same way its not thight to a web server ... --san; cobalt.rmnet.it/~san |