HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   ISPConfig adds two DocumentRoot to a virtual host (http://www.howtoforge.com/forums/showthread.php?t=8039)

cryptic 8th November 2006 18:11

ISPConfig adds two DocumentRoot to a virtual host
 
Hello,

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.

till 8th November 2006 18:27

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.

cryptic 9th November 2006 03:02

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

till 9th November 2006 09:56

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 :)


All times are GMT +2. The time now is 06:00.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.