|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Redirection in IIS server
Hi
Do we have something like mod rewrite in IIS? Let us I am trying to access this url http://localhost/files/default.asp?x=abc it should redirect to http://localhost/abc.asp In the same way http://localhost/files/default.asp?x=xyz to http://localhost/xyz.asp How can this be achieved? Thanks
__________________
Contact info: Primary email: advanced.programmer@gmail.com MSN/email: superprg@hotmail.com AIM: superprg |
|
#2
|
|||
|
|||
|
There are isapi add-ons, try google searching for iis_rewrite or similar.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
There's a perfect product called ISAPI_Rewrite! (ttp://helicontech.com/isapi_rewrite/)
It has almost the same functionality as mod_rewrite and even supports Apache syntax. Add this code into configuration file: RewriteEngine on RewriteBase / RewriteRule files/default.asp?x=(\w+) $1.asp [NC,R=301] Address to ISAPI_Rewrite Support Forum for further instructions. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Redirection in IIS server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|