Re: [Mod-fcgid-users] passing PATH_INFO to PHP

2007-09-13 Thread Joachim Durchholz
Filip Hajny schrieb: > 1. http://phptest.joyeurs.com/cgi/ > 2. http://phptest.joyeurs.com/fcgi-action/ > 3. http://phptest.joyeurs.com/fcgi-wrapper/ These URLs with a path info of, say, wrzl/brmft, would be http://phptest.joyeurs.com/cgi/wrzlbrmft http://phptest.joyeurs.com/fcgi-action/wrzlbrmft

Re: [Mod-fcgid-users] passing PATH_INFO to PHP

2007-09-13 Thread Joachim Durchholz
Filip Hajny schrieb: > 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

Re: [Mod-fcgid-users] passing PATH_INFO to PHP

2007-09-12 Thread Joachim Durchholz
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

Re: [Mod-fcgid-users] FCGIWrapper vs. Action

2007-08-21 Thread Joachim Durchholz
Filip Hajny schrieb: > Furthermore your Apache config doesn't break if the PHP executable > goes missing (unlike FCGIWrapper), which is important if you use > wrapper scripts and suexec instead of calling the binary directly > (e.g. for virtual hosting environment), and risk users getting rid

Re: [Mod-fcgid-users] Rlimits

2007-07-10 Thread Joachim Durchholz
Ingo Krabbe schrieb: > As far as I know, there are some restrictions to rlimit settings. In the > normal case some can only be done by the super user. RTFM. For each rlimit-controlled resource, there's a soft limit (user-settable) and a hard limit (superuser only). Since running Apache as root

Re: [Mod-fcgid-users] can't get fastcgi file info

2007-05-23 Thread Joachim Durchholz
Alli Quaknaa schrieb: > Set immutable flag on the wrapper so that nobody could change/delete > it. chattr +i wrapperfile > That's my suggestion... Can't easily do that. Due to circumstances outside of my control (at least right now), users must be able to set up their own docroots, and this mean

[Mod-fcgid-users] can't get fastcgi file info

2007-05-22 Thread Joachim Durchholz
Hi all, I've got a local denial-of-service with fcgid if used in a shared hosting environment. Situation - Shared hosting on Ubuntu Dapper Drake (PHP 4.4.x, Apache 2.0.x, fcgid normally 1.0.7 but upgraded to 1.10 on my machine - that's still ancient, but unless I'm mistaken, the I se