|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Iis 4 redirects
Hi all,
I would like to place a url like http://www.domain.com/123 in an advertisement so that it is easy for a user to type it in, but would actually be redirected by iis (without another ip) to something like http://www.domain.com/ads/index.asp?ad=123. Is this possible without the use of another ip and/or is this possible from within iis? Thank you for your time and consideration, cranium |
|
#2
|
|||
|
|||
|
You could use asp code to redirect. There is a not-free isapi IIS_Rewrite that probably could do what you want, but I don't know if it works on IIS4 and you'll need to google to find it, I don't have a link.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Thank you for the response, but how could I use asp for the redirect? If the server doesn't understand the url http://www.domain.com/123 it would just give an error???
|
|
#4
|
|||
|
|||
|
If you have a folder 123 with a default asp page, default.asp could consist of nothing but
Code:
<% response.redirect "/ads/index.asp?ad=123" %> But it sounds to me like you're looking for some equivalent to apache mod_rewrite, and the only option I've heard of is that iis_rewrite isapi (which btw I've never used). |
|
#5
|
|||
|
|||
|
I thought about that route, but there will be some 100 ads per year sent out and it will be required of me to track each one; that could start to get a little messy with all of those folders in the root directory, that is why I was looking for a different way.
Texas Instruments does something like I want, maybe seeing how theirs works might lend some insight in what I want to do? url: http://www.to.com/ads5546 Thank you for your time and consideration, cranium |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Iis 4 redirects |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|