Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2006, 19:11
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 137
Thanks: 6
Thanked 6 Times in 5 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2006, 19:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th November 2006, 04:02
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 137
Thanks: 6
Thanked 6 Times in 5 Posts
Default

Do you mean before the include? That's the only way I could get it to work.
Reply With Quote
  #4  
Old 9th November 2006, 10:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
bug in virtual host ispconfig adrenalinic Tips/Tricks/Mods 1 13th August 2006 14:37
How to add a virtual IP address to ISPConfig? tdd_topdog Installation/Configuration 2 13th July 2006 14:48
I broke it.. I think.. Email in is not being delivered? edge Server Operation 1 3rd July 2006 15:22
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16
Problems with domain and host name ispconfig 2.1.1 grantdutoit Installation/Configuration 8 6th April 2006 22:53


All times are GMT +2. The time now is 05:20.


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