Apache mod_rewrite does not work
Im using a J2ee application with spring framework 2.0 on a apache tomcat 5.5. I have used URL mapping to change the extension from .jsp to .htm. I have an URL which looks like this 800 Promotions - Company Page Dubai British School I want to change it to http://www.800promotion.com/13441594...40257756098788 I have referred samples of working on mod_rewrite. However I cant seem to get it working. These are the lines in my .htaccess file. RewriteEngine on RewriteRule ^([^/.]+)/?$ /promotion.htm?cid=$1 [L]
I have checked with my host and they said mod_rewrite was supported on the server. I do not have access to the httpd.conf file. However I have verified from the support that AllowOverride is set to all. When I hit the URL the page works fine however the URL doesnt get mapped. Where am I going wrong?