ASP's running environment and virtual directory settings

Source: Internet
Author: User
Virtual directory to enable the compiled ASP code to run, you must configure its operating environment:

Windows nt4.0+iis4.0 or higher Windows 2k+iis5.0 is recommended

To run and debug your ASP program.

A little description of the virtual directory:

Many people typically put ASP code under the \Inetpub\Wwwroot folder,

There are many files in the \Inetpub\Wwwroot folder, if you put your code in the

It's going to be messy, and if you erase some of the files here, your ASP may run the environment

Error, it is recommended to build a virtual directory on another partition, and then put all the ASP files you want to edit

Put here, this is good management is also in security Considerations!

The following describes how to build a virtual directory:

The environment is in Windows 2K and you can build on any of the disks

Now we are going to build a BBS virtual directory on E disk:

1. Build a BBS folder on E disk

2. Right key this BBS folder--"attribute--" web Share--"Select Share this Folder--" OK--OK

This BBS virtual directory is built, put your ASP file here can be run, the following methods:

If the virtual directory in the BBS already has file index.asp

In IE Address bar input: machine name/bbs/index.asp

debugging ASP with virtual directory I feel very convenient, more importantly (perhaps my own reason) put it here to debug

My database doesn't go wrong, and I put it in \inetpub\wwwroot here, my database connection seems to be an old mistake, but

Put in the virtual directory is no problem, upload to the internet is also the normal, this question I am not very clear, if which

You know, tell me why!



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.