Forum Moderators: phranque

Message Too Old, No Replies

Apache restart error on httpd.conf - assistance requested

Cannot restart apache - receiving odd errors.

         

noguska

7:26 pm on May 13, 2005 (gmt 0)



Attempted to add an outside domain to our virtualhosts.conf file, then attempted to restart apache2 (/etc/init.d/apache2 restart).

It returned this error:

Syntax error on line 151 on /etc/apache2/httpd.conf:
Multiple <Files> arguments not (yet) supported.

Lines 150-154 are as follows which doesn't appear to have an error...

AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

What is strange is that the httpd.conf file has not changed since last October and we've restarted it dozens of times since then with no problem.

We assumed this was an error in the virtualhosts.conf file; however we could find none, and even when we removed that .conf file altogether and/or ran apache2 configtest we continue to get the same error.

Any insight would be extremely appreciated. Our servers are up now, however we can't restart them to add/change anything. We're afraid to reboot the SuSE server itself for fear Apache won't start at all.

Thanks in advance for taking the time to help!

Chico_Loco

6:24 am on May 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perhaps the file contains a line break or some other invisible character which is causing this issue. Was the file downloaded then reuploaded? Even if the file wasn't changed?