IIS substitution tool-netbox and simple tutorial

Source: Internet
Author: User
Work at ordinary times, OS is XP-HOME edition, in the development of ASP and ASP. NET Program Is not IIS.

I found a plug-in that can replace IIS In the XP-HOME version: netbox. (For testing ASP programs locally, I think it is OK)

Website:Http://www.netbox.cn/

You must use a real email for registration. Otherwise, you will not receive the verification password.
The usage is as follows:
After installation
Find the samples \ webserver directory under the installation directory
Put your website directory under the wwwroot directory

Open main. box in a text editor

The content is as follows:

Sub onservicestart ()
Set httpd = netbox. Createobject ("netbox. httpserver ")

If httpd. Create ("", 80) = 0 then ------------------------------------------------------ 80 indicates that the port is used
Set host = httpd. addhost ("", "\ wwwroot") --------------------------------- this is the website directory name

Host. enablescript = true
Host. adddefault "Default. asp" ---------------------------------------------- this part is the default homepage name.
Host. adddefault "default.htm"
Host. adddefault "index. asp"
Host. adddefault "index.htm"

After modification, run main. Box or compile it into an executable file using its own debug.

He does not limit the number of people
Small resource occupation
Available in 2000/XP/2003
The security performance of compilation and packaging is slightly higher than that of IIS.
But note:
Please re-compile the website content every time you modify it.

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.