Hello,
I have to request help on this after spending countless hours and deciding that i am dumb and need help.
I have the following in an htaccess file in a subdirectory. My aim is to redirect all urls containing pattern 'store' to index.php in the current directory. which is also named 'store'.
IndexIgnore *
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/store/
RewriteRule (.*) index.php [L]
Now this works well in my local machine running winxp & AMP .
but it results in a 404 error when the same setup is moved to my webserver. (Centos LAMP)
Any help towards making this htaccess file work in my webserver will be greatly appreciated.
Zetan