|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Redirect to another URL only when there's a specific string in the URL.
Hello,
I would like to redirect to another URL only when there's a specific string in the URL. For example, by typing "http://host.domain.com/dir/app?login", I'd like to redirect to another URL (a login screen because of the "?login" string). However, by typing "http://host.domain.com/dir/app", I'd like to have no redirection at all. I took a look at MS documentation on redirections, and I saw that I can use wildcards. I'm able to redirect *.html to another URL... but I don't seem to be able to redirect to another URL based on a specific string in the URL. Is there a way to achieve this? Thanks! Pascal |
|
#2
|
|||
|
|||
|
You can accomplish this with asp or some other active server scripting pages like php. I think there are some commercial isapi products that will give you this kind of functionality.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Thanks for your answer,
Someone suggested the same thing here: http://www.iis-resources.com/modules/newbb/viewtopic.php?topic_id=4191&forum=5 Pascal |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Redirect to another URL only when there's a specific string in the URL. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|