Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 27th April 2013, 09:41
keithH keithH is offline
Junior Member
Join Date: Sep 2010
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
Default Possible ISPConfig Configuration Apache mistake with latest stable on Ubuntu 12.04LTS

Hi, folks:
I'm actually not reporting anything super serious, but hear it goes anyways.
When I got done using the tutorial found here: http://www.howtoforge.com/perfect-se...ot-ispconfig-3 I found one interesting thing after finally completeing the installation.
I discovered that Apache2 was giving me warnings (and a hole lot of them) about nameVirtualHost *:80 and NameVirtualHost *:443 having no virtual hosts, (about three of four times printing to the screen.)
So I thought: This cannot do.
So I started looking about.
First instance?
Found a NameVirtualHost *:80 line.
Erased it, and saved the file.
The second?
Interestingly enough, occurred in the 000-ispconfig.conf file just after the alias lines.
NameVirtualHost *:80 and NameVirtualHost *443 respectively.
I removed those lines, using a nifty trick:
 sed -I '/NameVirtualHost /,/*:80/d' /etc/apache2/sites-enabled/000-ispconfig.conf
Then I ran the same, but for 443.
Once I erased those lines, and restarted Apache, all warnings whent away entirely.
I do not curiously, remember this ever occurring in ISPConfig, just in the latest stable builds.
Does anybody know why those directives are in the default ispconfig.conf vhost file for Apache2?
Doing this has not busted ISPConfig3 in any way, btw.
I would, like an explanation as to why those lines exist at all, if possible.
I don't like receiving warnigns all over the screen from Apache, personally. So I've delbt with it, at least for now.
When the next stable release comes up, after updating ISPConfig (unless I'm instructed not to in a reply post), I'll probably repeat the said code again just in case those lines hsow back up.
An explanation for those lines would be appreciated.
Did you developers do that on accident spessifying a Vhost line or two Apache would warn about?
I would suspect so.
Please clarify.

Last edited by keithH; 27th April 2013 at 09:46.
Reply With Quote
Sponsored Links
Old 27th April 2013, 16:00
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,037
Thanks: 841
Thanked 5,659 Times in 4,466 Posts

Does anybody know why those directives are in the default ispconfig.conf vhost file for Apache2?
Has been discussed several times in the forum, but I will repeat it:

Without these lines you will not be able to use wildcard virtual hosts which are available in ispconfig as default. Basically apache should not print warnings about that as its not an issue, the message should basically be "You are now able to add wildcard virtual hosts in apache on port abc" and this deserves a notice and not warning level.

We are considering to remove these lines in the next update even if this will cause users to fail again like before when they create a wildcard vhost when they did not add these settings in their config manually as not all distributions and hosting providers add them in their default settings.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
sessions not being saved gavimobile General 6 15th January 2012 16:05
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 5th April 2010 00:28
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 21:13
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16
Apache chroot please, for ISPConfig and ubuntu breezy! :) danf.1979 Suggest HOWTO 0 3rd April 2006 03:46

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

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