Thanks Hugo,
The docroot was set to include ${HOME}/public_html, so that wasn't the
issue. But looking at suphp.conf, the check_vhost_docroot flag was set
to true. After I set it to false, everything was back to playing
nicely.Thanks to the link to the sample config. I had looked through the FAQ, but didn't see anything that corresponded to the question. -matthaus On Fri, Jan 7, 2011 at 5:22 PM, Hugo Monteiro <[email protected]> wrote: > On 01/07/2011 10:34 PM, Matthaus Litteken wrote: > > Hi there, > First time posting here. I was wondering if anyone had a successful > installation of suphp working with userdir. I have a fresh install of > apache2, php5, libapache2-mod-suphp. suphp will work with userdir > enabled (out of /var/www), but it won't work out of a user dir > (~/public_html, etc). I get the following errors when trying to run a > script out of a user home dir. > > [Fri Jan 07 14:28:50 2011] [error] [client 127.0.0.1] SoftException in > Application.cpp:221: File "/home/matthaus/public_html/index.php" is > not in document root of Vhost "/var/www" > [Fri Jan 07 14:28:50 2011] [error] [client 127.0.0.1] Premature end of > script headers: index.php > > Does anyone have any ideas on how to get the two modules to coexist a > little more pleasantly? > Thanks so much for any advice/help that can be offered. And I can of > course provide more information if needed about the setup, etc. > > -matthaus > > > > The error message is quite clear. Try setting docroot appropriately. > > See the example in > http://www.suphp.org/DocumentationView.html?file=suphp.conf-example > > > Regards, > > Hugo Monteiro. > > -- > fct.unl.pt:~# cat .signature > > Hugo Monteiro > Email : [email protected] > Telefone : +351 212948300 Ext.15307 > Web : http://hmonteiro.net > > Divisão de Informática > Faculdade de Ciências e Tecnologia da > Universidade Nova de Lisboa > Quinta da Torre 2829-516 Caparica Portugal > Telefone: +351 212948596 Fax: +351 212948548 > www.fct.unl.pt [email protected] > > fct.unl.pt:~# _ > > _______________________________________________ > suPHP mailing list > [email protected] > https://lists.marsching.com/mailman/listinfo/suphp > > -- "It is impossible for the man who awakens in the morning to know with certainty that he is the same man who went to sleep at night." _______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
