SuPHP Error

Discussion in 'General' started by Nilpo, Dec 8, 2013.

  1. Nilpo

    Nilpo Member HowtoForge Supporter

    I am running ISPConfig 3 based on the CentOS 6.4 Perfect Server. When I try to use SuPHP, I get the following error:

    [Sun Dec 08 05:27:53 2013] [warn] File "/var/www/clients/client1/web1/web/index.php" is not in document root of Vhost "/var/www/clients/client1/web19/web"
    I am loading the website at web1. My suphp.conf contains:

    I don't understand why it's looking in web19.
  2. Nilpo

    Nilpo Member HowtoForge Supporter

    I think I figured out the problem. web1 is my default website, 000default.tld. Web19 is the domain that I was to use as my default site, i.e. In order to facilitate this, I linked web19/web to web1/web. Is there a better way to do this? The goal is so that a request for any non-existent web site should load Would it be better to use a redirect on 000default.tld?
    Last edited: Dec 8, 2013

Share This Page