| Posted: 19 August 2011 at 1:24am | IP Logged
|
|
|
I'm tranferring a website to an IIS based hosting party with V2.x Asapi enabled, but I am having trouble translating the rewriting rules from the htacces file to de httpd.ini
Can someone please help?
Basicly what I am trying to do is:
Exclude existing directories
Exclude existing files
All other url's should be redirected to /site.php?url=$1
The latter should translate like:
http://www.mydomain.com/en/for-sale/ to
http://www.mydomain.com/site.php?url=en/for-sale/
This is the current htacces file:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*) /site.php?url=$1 [QSA,L]
I have been trying several things based on the forum, seem to mix up the syntax.
Thanks!
|