README.md

December 4, 2022 ยท View on GitHub

IIS Redirects

Description

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)

More Info

Submitted On
ByPulsar180
LevelBeginner
User Rating2.8 (11 globes from 4 users)
CompatibilityASP (Active Server Pages), HTML, VbScript (browser/client side)

Category |Server Side World |ASP / VbScript Archive File |

Source 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