
September 16th, 2008, 06:25 PM
|
 |
I lov C in AIX/Linux, hate C++
|
|
Join Date: Jul 2003
Location: Jacksonville, Florida
|
|
Web.config - Is it possible to have alias path to physical path??
I spend all day doing research and haven't come up with anything solid on it. I'm looking at having a alias name or alias path in the *.aspx webpage where the alias name can be mapped to a physical path. I'm using both Visual Studio 2008 and IIS6 which I hope the web.config will do the work for us.
Example..
c:\websites\testcase1\web.config
c:\websites\testcase1\www\default1.aspx
c:\websites\testcase1\secure\default2.aspx
c:\websites\testcase1\images\blahblah.jpg
Since I'm going to have the "www" directory be used as HTTP or port 80 and use "secure" directory as HTTPS or port 443. So, in both directories, they will need to access an image file in the "image" directory. I'm hoping that having a script in web.config would allow me to have alias name that will go behind either ports.
I haven't figured out how to do that cuz I'm not too familiar with web.config. I have no desire to configure Visual Studio 2008 or IIS6 as an alternative cuz they are a bit different and it defeated the purpose of keeping it simple for us.
Thanks...
|