article

IIS Redirects

Email
Submitted on: 1/6/2015 10:19:00 AM
By: Pulsar180 (from psc cd)  
Level: Beginner
User Rating: By 4 Users
Compatibility: ASP (Active Server Pages), HTML, VbScript (browser/client side)
Views: 514
 
     A REAL TIME SAVER I felt the need to do this bcause i had a huge bundle of asp scripts all containing tags like . now as a cumpulsory requirement all images were to be stored in a diff directory ( ../images/ )(earlier it was in the same folder as the asp scripts)


 
				suppose this is the new directory structure
wwroot
|--------asp
|----- *.asp
|--------images
|------*.gif
I didnt want to go thru ASP scripts and change every img tag. neither could i use PERL or any Reg Exp trick .. as the img tag was being scripted sometimes.
so i wanted a way for IIS to recognize all content-type images/gif references to the ASP folder be now searched in that folder or the ../images folder.
well it turned out simpler
see the screenshot
all it needs is to give an IIS redirections
use wild cards
wwroot/IIShelp.asp has more on that
i have made submissions bfore .. but i think u can vote for this one


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Beginner category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.