You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Paulo J. Matos" <po...@gmail.com> on 2006/04/18 14:51:57 UTC

[users@httpd] mod rewrite not working

Hi all,

My server is running version 2.0.49 and it has the LoadModule for
mod_rewrite in its config file but when I had .htaccess with:
RewriteEngine On
RewriteRule ^(.*)$ http://localhost:8080/$1

I get the following in the log:
[Tue Apr 18 12:41:02 2006] [alert] [client 146.193.36.49] /home/pocm/public_html
/schemept/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or def
ined by a module not included in the server configuration

How can I know if the rewrite module is really loaded? It doesn't seem
so but I think I'm loading it.

Thanks,

--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org