I've built a script and implemented RewriteRule. The RewriteRule is working fine on Godaddy Linux shared hosting. But not on dreamhost, hostgator and on windows server.
I want to make these url-rewrite rules "universal" so that my script work on all different server "including windows". How can I make my .htacces file universal? Is there any other solution without .htaccess?
Here is the .htaccess I'm using
AddHandler x-httpd-php5-cgi .html
Options +FollowSymLinks
Options -MultiViews
RewriteEngine On
RewriteRule ^genres/([^/]*).html /category.php?category=$1
RewriteRule ^search.html$ search.php
RewriteRule ^([^/]*)-product.html$ /productinfo.php?request=$1 [L]
RewriteRule ^new/([^/]*)\-product.html$ productinfo.php?new_request=$1 [L]
RewriteRule ^download/([^/]*)\-product.html$ download.php?download=$1 [L]
RewriteRule ^new-download/([^/]*)\-product.html$ download.php?new_download=$1 [L]
RewriteRule ^buy/([^/]*)\-product.html$ buy.php?buy=$1 [L]
RewriteRule ^new-buy/([^/]*)\-product.html$ buy.php?new_buy=$1 [L]