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)
AI
Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Code source
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
Commentaires originaux (3)
Récupéré via Wayback Machine