View Single Post
  #3  
Old 16th March 2009, 06:09
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default

thanks till. That woluld be great but I just checked this with the problem that the user had the other day. They entered a redirect but accidently had a new line after the directory like this:

Code:
Redirect 301 /email <new line here>
http://www.theirsite.com/their_directory
instead of

Code:
Redirect 301 /email http://www.theirsite.com/their_directory
the ispconfig log reports this when the above is saved:

Quote:
16.03.2009 - 16:03:48 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2604: WARNING: could not httpd -t &> /dev/null
16.03.2009 - 16:03:48 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2616: httpd syntax seems to contain errors, reloading with old configuration
16.03.2009 - 16:03:48 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2617: mv -f /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf_16-03-09_16-03-48
16.03.2009 - 16:03:48 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2618: mv -f /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~ /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
But when I go back into the directives box in the control panel it has the original setting uncommented. Any ideas?
Reply With Quote