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).
I do get a whole bunch of environment variables in my fcgid setup, though PATH_INFO is missing. Here's the list: DOCUMENT_ROOT FCGI_ROLE GATEWAY_INTERFACE HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING HTTP_ACCEPT_LANGUAGE HTTP_CONNECTION HTTP_HOST HTTP_KEEP_ALIVE HTTP_USER_AGENT PATH PHPRC PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS PWD QUERY_STRING REMOTE_ADDR REMOTE_PORT REQUEST_METHOD REQUEST_URI SCRIPT_FILENAME SCRIPT_NAME SERVER_ADDR SERVER_ADMIN SERVER_NAME SERVER_PORT SERVER_PROTOCOL SERVER_SIGNATURE SERVER_SOFTWARE SHLVL I'm not sure whether the PHP* variables would exist without the wrapper script (they are set there). > The way > I see it, this is actually correct, but I still think there should be > a way to include PATH_INFO too, for script that rely on it for clean > URLs (like ExpressionEngine). You could set it in the wrapper script. If that's inaccessible, you could set it up in the initialization code of the PHP application. 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. Regards, Jo ------------------------------------------------------------------------- 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