HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Vhosts not being updated (

hairydog2 20th April 2011 17:49

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?


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!

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

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