Set up new website, Error 500

Discussion in 'Installation/Configuration' started by Falrish, Sep 9, 2019.

  1. Falrish

    Falrish New Member

    Hello, I have been running ISPConfig 3.0.5.4p9 for some time (I know I should do an update to the latest version but let's put that aside for now).
    I set up a new domain on the server and added the basic index.html setup without issue but I am getting a 500 Internal Server Error.
    The web server running is Apache

    Error.Log content:
    [Mon Sep 09 07:33:41 2019] [error] [client IPAddressHere] SoftException in Application.cpp:221: File "/var/www/clients/client5/web8//web/index.html" is not in document root of Vhost "/var/www/domain.com/web"
    [Mon Sep 09 07:33:41 2019] [error] [client IPAddressHere] Premature end of script headers: index.html​

    When I check the ownership of the /var/www/clients/client5/web8/ folder I get the following:
    drwxr-xr-x 9 root root 4096 Sep 9 07:31 .
    drwxr-xr-x 4 root root 4096 Sep 9 07:31 ..
    drwxr-xr-x 2 web8 client5 4096 Sep 9 07:31 cgi-bin
    drwxr-xr-x 2 root root 4096 Sep 9 07:50 log
    drwx--x--- 2 web8 client5 4096 Sep 9 07:31 private
    drwxr-xr-x 2 root root 4096 Sep 9 07:31 ssl
    drwxrwx--- 2 web8 client5 4096 Sep 9 07:31 tmp
    drwx--x--x 3 web8 client5 4096 Sep 9 08:17 web
    drwx--x--- 2 web8 client5 4096 Sep 9 07:31 webdav​

    I tried running the command chown web8:client5 /var/www/clients/client5/web8/web without any luck as it was already set this way.

    Any help you guys can give me would be greatly appreciated.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    So what is the DocumentRoot setting for that website?
    See it in ISPConfig panel for that website, or from file /etc/apache/sites-enabled/100-domain.com.vhost. That file path is for Apache, if you run NGINX I do not know where it stores that. And your operating system may be completely different from mine, so that is also an issue.
     
  3. Falrish

    Falrish New Member

    DocumentRoot /var/www/domain.com/web
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    And that /var/www/domain.com/web is different from var/www/clients/client5/web8//web/
    ISPConfig for me sets that automatically correctly, but I am running 3.1.14p2.
     

Share This Page