I'm new to .htaccess files, I've been watching tutorials online and everything seems perfect, but right now I'm trying to clean up the URL, so if user enters /products...
he is redirected to products.php
.
Here's the .htaccess code:
ReweriteEngine on
RewriteCond %{REQUEST_URI} products/
RewriteRule products/ http://localhost/website/products.php
It's too simple but driving me crazy, so any idea?
Here's the error log:
[Tue Aug 26 18:28:20 2014] [alert] [client 127.0.0.1] C:/AppServ/www/website/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration