Possible ISPConfig Configuration Apache mistake with latest stable on Ubuntu 12.04LTS
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.
Found a NameVirtualHost *:80 line.
Erased it, and saved the file.
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:
Once I erased those lines, and restarted Apache, all warnings whent away entirely.
I do not curiously, remember this ever occurring in ISPConfig 126.96.36.199, 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.
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.
|All times are GMT +2. The time now is 14:32.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.