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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |