the module in the httpd.conf for rewrite is as follow:
LoadModule rewrite_module modules/mod_rewrite.so
path to .htaccess:
c:\wamp\www\magentodev\.htaccess
therefore in .htacess I have this:
<IfModule mod_rewrite.so>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/boombottleh2o\+?$
RewriteRule (.*) /gu/boombottleh2o.php [NC,L,QSA]
//some other ones
</IfModule>
I expected to try:
localhost/magentodev/boombottleh2o
instead of:
localhost/magentodev/gu/boombottleh2o.php
it supposed to work because it is working on production but not localhost, I have wamp server apache and here is some configurations:
in C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf:
<Directory "c:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride All
Require local
</Directory>
it is not correct as Anu is saying so I am changed the in C:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf to:
<Directory "C:/wamp/www/">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
ServerAdmin localhost
DocumentRoot C:/wamp/www/
ServerName localhost
</VirtualHost>
I could not figure out what is wrong, I appreciate any help
RewriteBase /gu/
maybe? – Darren