On 13.9.2007, at 8:08, Joachim Durchholz wrote: > Filip Hajny schrieb: >> Is there a known way how to pass PATH_INFO to PHP on mod_fcgid? I >> have tried both using FCGIWrapper and AddHandler approaches, but PHP >> ends up with an empty environment (other than what's raised using >> DefaultInitEnv or in the shell wrapper script - like PHPRC). > > You could set it in the wrapper script.
I'm fine with re-setting them in the wrapper, but the problem is that not even the wrapper has any of the environment I need. mod_fcgid doesn't pass any of that from Apache to the wrapper, that's basically the problem there. And I don't think I can use DefaultInitEnv to pass an existing variable (compared to a value). > > If that's inaccessible, you could set it up in the initialization code > of the PHP application. Not an option with thousands of PHP apps running on a shared host. > Finally, you could try to use a script that doesn't rely on PATH_INFO > (which is unreliable anyway IIRC), or file a bug with the > ExpressionEngine folks. I wouldn't care about PATH_INFO, but they do and with PHP being still deployed via mod_php or pure CGI, they do have a large base of 'compatible' users. F ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mod-fcgid-users mailing list Mod-fcgid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users