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
So how can I look for the problem?
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!