SheppardDigital
asked on
Sending all requests to index.php using IIS
Hi,
We've developed a CMS that uses a .htaccess file to redirect all requests to an index.php file so that we can create SEO friendly urls.
One of our clients wants us to host the CMS on their own server which is running IIS, the problem is, the CMS is developed for Apache.
I'm just wondering if anyone knows how we can redirect all requests (apart from files that exist) to index.php
I've attached the .htaccess file we're using.
We've developed a CMS that uses a .htaccess file to redirect all requests to an index.php file so that we can create SEO friendly urls.
One of our clients wants us to host the CMS on their own server which is running IIS, the problem is, the CMS is developed for Apache.
I'm just wondering if anyone knows how we can redirect all requests (apart from files that exist) to index.php
I've attached the .htaccess file we're using.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?rt=$1 [L,QSA]
ASKER
Is this also available for IIS6?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Further information on Rewrite Rule Module can be found at the following URL
http://www.iis.net/download/urlrewrite