|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Redirect in IIS
Hello,
I want to redirect a URL with % sign to another folder. i.e http://www.domain.com/5% to http://www.domain.com/newfolder Can any one help me, how i can do this in IIS 6.0 If i enter url http://www.domain.com/5% then it give me error although i have created folder named 5% Regards Nauman |
|
#2
|
|||
|
|||
|
I think you'll have to urlencode the url. I'd reconsider the need for a % in a url (assuming it's even a legal url character).
__________________
====== 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
|
|||
|
|||
|
Hello,
Can you tell me how i can encode url? The problem is the url with % sign i.e http://www.domain.com/5%/ is printed on some papers and cannot be changed. So i have to do something in IIS to index file in 5% folder open. Or any other option if user click on above URL then i can redirect him on some other folder. Regards Nauman |
|
#4
|
||||
|
||||
|
When you urlencode % you get %25. I just tried creating a directory called 5% and it did work when I browsed to www.domain.com/5%25/ but I don't know how you would get that to work with just 5% if that's what is printed out already.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Redirect in IIS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|