[CentOS] traceenable for httpd

Thu Aug 6 14:35:55 UTC 2009
Flaherty, Patrick <pflaherty at wsi.com>

> > On centos 5.3 x86_64 I can add "traceenable off" to httpd.conf and 
> > that works well.
> > however this doesnt seem to work for centos 4.7 i686.
> > Is there a similiar named option on 4.7?
> >
> > Jerry
> 
> TraceEnable off is in apache 2.2 which is included in CentOS 
> 5, and it may be in later versions of apache 2.0 but it is 
> not available in the version
> (2.0.52) that ships with CentOS 4.X.

For Apache 1.3.34 or later, or 2.0.55 or later  use traceenable off, for
earlier versions use a rewrite rule to break it.

RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]