ISPConfig adds two DocumentRoot to a virtual host

Discussion in 'General' started by cryptic, Nov 8, 2006.

  1. cryptic

    cryptic Member


    I have a certain DocumentRoot specified in the ISPConfig panel for one of my sites. Whenever I make a change to that site, it adds the 'DocumentRoot /var/www/web1/web' under my specified DocumentRoot in the httpd config.

    In this case, my website will show /var/www/web1/web instead of what I specified. I have to remove that 'DocumentRoot /var/www/web1/web' line from httpd config and restart apache each time I make a change to my site in the ISPConfig panel in order for my website to come back up.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not specify a different document root for a website in ISPConfig. If you need that, you will have to add a vhost configuration to your main httpd.conf manually after the Vhost_ispconfig.conf include.
  3. cryptic

    cryptic Member

    Do you mean before the include? That's the only way I could get it to work.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally after the include, but you will have to remove the website in ISPConfig then. But if it works for you when you put it before the include, thats fine too :)

Share This Page