Unfortunately suphp generates this messegases in error.log: [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
and serwer return to broser 500 internal error. Index.php contains just system function with id as paramiter soo it return id of ruser running this script. When i gave apache higher uid it works fine. No suphp.log is generated when apache has uid 0. Any ideas? Or maybe there is a way to debug suphp? Best Regards 2011/1/3 Michelle Konzack <[email protected]>: > Hello Grzegorz Dwornicki, > > Am 2011-01-03 00:05:35, hacktest Du folgendes herunter: >> 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? > > If you run apache as root, suPP will be obsolete, because its PHP script > can access any files and after working on it, it can set the owner. > > Thanks, Greetings and nice Day/Evening > Michelle Konzack > > -- > ##################### Debian GNU/Linux Consultant ###################### > Development of Intranet and Embedded Systems with Debian GNU/Linux > > itsyst...@tdnet France EURL itsyst...@tdnet UG (limited liability) > Owner Michelle Konzack Owner Michelle Konzack > > Apt. 917 (homeoffice) > 50, rue de Soultz Kinzigstraße 17 > 67100 Strasbourg/France 77694 Kehl/Germany > Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil > Tel: +33-9-52705884 fix > > <http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/> > <http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/> > > Jabber [email protected] > ICQ #328449886 > > Linux-User #280138 with the Linux Counter, http://counter.li.org/ > > _______________________________________________ > suPHP mailing list > [email protected] > https://lists.marsching.com/mailman/listinfo/suphp > > _______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
