Search Tools Links Login

IIS Redirects


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)

Original Author: Pulsar180

Code

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 93 times

Categories

ASP/ HTML

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.