Vhosts not being updated
I am having problems with the Vhosts file not updating when I make changes
So I checked the log and it says:
WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2667: WARNING: could not . /etc/apache2/envvars && httpd -t &> /dev/null
followed one second later by
WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems to contain errors, reloading with old configuration
but if I do
. /etc/apache2/envvars && httpd -t
on the shell, I get
Syntax OK
So how can I look for the problem?
[Later:]
Found it!
I downloaded the Vhosts.conf and the new one that it rejected.
When I did a diff on the two files, I found that there was some rubbish in one of the lines.
It looks as if it had been accidentally typed into the "Apache Directives (Optional): " box in ISP Manager, but instead of creating an error message, it simply refused to use the new conf file.
I cleared the Directives box, saved and all is well again!
Last edited by hairydog2; 20th April 2011 at 17:07.
Reason: Problem solved!
|
Recent comments
21 hours 33 min ago
1 day 2 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 23 hours ago
1 day 23 hours ago
2 days 4 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 12 hours ago