Re: Syntax error on line 1 of http.conf: invalid command \xff\xfe#

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I keep telling everyone, NO, I didn't! The error was SOLELY caused by the presence of the piped Customlog directives using rotatelogs.exe. When I comment those out, regardless what editor I use, the problem goes away. I only began having this problem AFTER I first tried to add those directives, and it continues until after I comment them out.

Mark

-------- Original Message  --------
Subject: Re: Syntax error on line 1 of http.conf: invalid command \xff\xfe#
From: William A. Rowe, Jr. <wrowe@xxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Date: Tuesday, September 18, 2007 08:10:52 AM

You edited it in utf-8.  I hacked this long ago to ignore the leading
bytes but it looks like you might have corrupted them (it's supposed to
be a three byte sequence, and somehow you'd truncated it to two bytes?)

Mark A. Craig wrote:
I have a rather bizarre httpd.conf error with Apache 2.2 on Windows
2000; I attempted to make some rather simple edits to the logfile
portion of it, and now when I test, start,or restart the server I get
the following error displayed in the console (DOS) window:

Syntax error on line 1 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf:
Invalid command '\xff\xfe#', perhaps misspelled or defined by a module
not included in the server configuration

What the heck is going on?  Not only did I not edit the first line, all
it contains is the standard comment line that has been there all along.

Mark Craig

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux