mod_rewrite and disabling HTTP TRACE - no worky

This is a discussion on mod_rewrite and disabling HTTP TRACE - no worky within the Linux Web Servers forums, part of the Web Server and Related Forums category; Question: Does Apache 2.0.54 have mod_rewrite non-compiled in, or HTTP TRACE already disabled? I've got straight ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-23-2005
linux4dave
 
Posts: n/a
Default mod_rewrite and disabling HTTP TRACE - no worky

Question: Does Apache 2.0.54 have mod_rewrite non-compiled in, or HTTP
TRACE already disabled?

I've got straight out-of-the-box gcc compile of the latest 386 source
for Apache2. No configuration changes whatsoever.

No virutual server config'd, but I still wanted to disable the HTTP
TRACE functionality. I inserted the 3 recommended lines into the main
httpd.conf file:

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

But when I try to restart the server, I get:

[101#] ../bin/apachectl stop
Syntax error on line 84 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a
module not included in the server configuration

Hmmm... okay, so maybe the module wasn't included in the config - how
do I make that determination??? What am I missing?


Thanks,

dave

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0