Question : Convert .htaccess to web.config

Could anyone convert the following .htaccess code to work as web.config (ASP.NET)?

php_flag allow_call_time_pass_reference On
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/(.*)/(.*)$ index.php?controller=$1&action=$2&param=$3&$4 [L]

Thank you very much,
M
Code Snippet:
1:
2:
3:
4:
5:
6:
php_flag allow_call_time_pass_reference On
RewriteEngine On
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/(.*)/(.*)$ index.php?controller=$1&action=$2¶m=$3&$4 [L]

Answer : Convert .htaccess to web.config

I think you need to look unto IIS rewrite: http://www.isapirewrite.com/

This lets you use .htaccess files *almost* like in apache for rewriting
Random Solutions  
 
programming4us programming4us