Placing default.asp in sub-directory of

Discussion in 'Classic ASP' started by jdevries, Dec 5, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. 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
     
  2. you have several options:
    • put an index.htm (e.g. )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
    [​IMG]
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page