httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Mod-rewrite questions
Date Thu, 22 Jan 2004 22:00:12 GMT
On Thu, 22 Jan 2004, ORANSKY, JEFF (SBCSI) wrote:

> I am trying to disable http trace in the mod-rewrite module, the syntax that
> I want to stick on my httpd.conf file is:
> <VirtualHost <hostname> >
> RewriteEngine On
> RewriteRule .* - [F]
> </VirtualHost>


> Syntax error on line 1075 of /var/opt/apache/conf/httpd.conf:
> Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module
> not
> included in the server configuration

You don't have mod_rewrite included in your server.  Depending on your
configuration, you may be able to simply uncomment the LoadModule (and
perhaps AddModule) line related to httpd.conf.  If you don't find those
lines, you'll probably need to recompile apache to include mod_rewrite.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message