View Full Version : Placing default.asp in sub-directory of
jdevries
12-05-2004, 06:31 AM
I want to place my default.asp file and site folders in a sub-directory of"htdocs" (root directory).
What settings/changes do I need in order to have my default.asp pointed to instead of the browser looking for a startup file in root directory?
Thanks
steurm
12-07-2004, 06:47 AM
you have several options:
put an index.htm (e.g. [b])which directs you immediately to your subdirectory
Use the Session_onstart event of your asp. application. Here you need to define the root as a webapplication and place a global asa file in the rootdirectory. In the session_onstart event you can put a redirection (response.redirect, or better : server.transfer("myDir/default.asp"))
...
--
Steurm
www.steurm.net/steurm (http://www.steurm.net/steurm)
http://www.steurm.net/steurm/imgs/steurm_small.gif
vBulletin® ©Jelsoft Enterprises Ltd.