I thought the best way to handle this task was to use virtual directories, but if there is a better way, please don't hesitate to point me in that direction! What I want to do is have a quick URL for each "product id" ..., e.g., "http://www.mydomain.com/apples/" I currently as getting the functionality I want by having a single .asp sitting in the virtual directory that just sets the id ("apples") and then does an #INCLUDE FILE="../parent.inc" which is where all the vbscript and application logic exists.
I'ld like to avoid having to place a unique .asp in each virtual directory. I could do this if I could figure out how to determine dynamically which virtual directory got requested. Is there a way?
I went down a tangent and followed the advice from Question #10236558
I thought that was a great idea until I realized that the URL becomes messy then. I wanted to keep it www.mydomain.com/apples/ (nice and clean, no filenames, extensions, question marks, etc.) as newbies will often be typing in the url manually.
Is there ANY way to get my vbscript .asp to know which virtual directory it is in? Or is there an even simpler method of getting what I want without virtual directories, etc.,??