It complains that the file is not under the DocumentRoot of the Vhost. Set the DocRoot in the Vhost config file to /usr/home/ instead.

You could also turn of that feature:

check_vhost_docroot=false

And finally, php5 should be disabled. Comment out the LoadModule php5_module line.

Cheers,
- Eduardo

Johan Tärnklint wrote:
Hello,
 
I have added the following to my httpd.conf, but it wont work.
 
<IfModule mod_suphp.c>
   AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml
   suPHP_AddHandler x-httpd-php
   suPHP_Engine on
</IfModule>
 
Iam getting this error on my site:
 
 SoftException in Application.cpp:221: File "/usr/home/empty/public_html/test.php" is not in document root of Vhost "/home/empty/public_html"
 
Also added this to httpd.conf
 
LoadModule php5_module        libexec/apache22/libphp5.so
LoadModule suphp_module       libexec/apache22/mod_suphp.so
 
Maby php5-module should be disabled?
 
Thanks in advance!

_______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp

--
ISC. Eduardo Romero
[--Fox--]
http://foxteck.org



_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to