Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 31st, 2006, 12:19 PM
cranium cranium is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 27 cranium User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 44 m 54 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old January 31st, 2006, 01:05 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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

Reply With Quote
  #3  
Old January 31st, 2006, 01:55 PM
cranium cranium is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 27 cranium User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 44 m 54 sec
Reputation Power: 0
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???

Reply With Quote
  #4  
Old January 31st, 2006, 05:49 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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).

Reply With Quote
  #5  
Old February 1st, 2006, 08:29 AM
cranium cranium is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 27 cranium User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 44 m 54 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Iis 4 redirects


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT