Hi Let's say i want to create a configuration of apache2 + suphp with will allow users to set right for their files and directories to owner only. Soo php needs to be run as owner (this takes suphp). But in order to apache even run suphp it needs to go to documentroot and look at index file or other file that user had requested. To to tjis apache needs to be able to go to that directory ignoring file rights - maybe apache run as root?
I wanted to chect this configuration but it seems that apache as root and suphp creates errors like this: [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] suPHP version [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] 0.7.1 [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] (c) 2002-2007 Sebastian Marsching [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] suPHP has to be called by mod_suphp to work. [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] [Sun Jan 02 22:25:00 2011] [error] [client 10.33.8.42] Premature end of script headers: index.php But if i change apache to user non-root it runs normaly. Is it a suphp limitation bug? Is there a way to create such a configuration? With apache as root ot without it? For the record this errors doest write nothing to /var/log/suphp/suphp.log I'm using debian Squeeze on apache default config. Suphp is runed on ith default config as well. Sory for my English. I will be happy for any clue :) Best Regards Grzegory _______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
