Plowmister
asked on
URL re-write with classic asp on IIS6
Hi,
I installed IIRF on my server but do not know how to code the regular expressions bit for url rewriting .asp extensions.
I.e. I want to change
/page.asp?i=Links
to
/page/links/
and so on.
Please let me know what to put in the expression file.
Cheers.
I installed IIRF on my server but do not know how to code the regular expressions bit for url rewriting .asp extensions.
I.e. I want to change
/page.asp?i=Links
to
/page/links/
and so on.
Please let me know what to put in the expression file.
Cheers.
try something like this:
RewriteRule ^/page/([^\?\/]+)$ /page.asp?i=$1 [L]
RewriteRule ^/page/([^\?\/]+)$ /page.asp?i=$1 [L]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.codeplex.com/IIRF/Thread/List.aspx