Well sometimes the solution can be this easy:
I just had to add
doc_root = "/htdocs"
cgi.fix_pathinfo = 0
to my php.ini.



Jos Ewert wrote:
> Hi,
>
> I have successfully set up fcgid and suexec and modified suexec to 
> chroot to /var/kunden/webs/<user>.
>
>
> Unfortunately fcgid still sends the full path to the php binary which 
> then doesnt
>  find it : "stat64("/var/kunden/webs/flami/htdocs/index.php", 
> 0xbfa87fe8) = -1 ENOENT (No such file or directory)" .
> and gives me "No input file specified."
>
>
> I though of makeing something with mod_rewrite but this looks rather 
> dirty to me.
> Could there be a cleaner solution, maybe to make fcgid serve "stripped" 
> requests ? ( I didnt look at the source yet ).
>
>
> Greetings,
> Josi
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Mod-fcgid-users mailing list
> Mod-fcgid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to