Introduction:
This program is a web server running in the .NET environment.
It implements part of HTTP/1.1. Currently it supports GET and HEAD commands, breakpoint resumable downloads and multi-threaded downloads.
In Windows NT/2000/XP environment, you can run CGI programs in EXE format. The URL format is "http://website/cgi.exe?+passed parameters".
Pay attention to the "?". If you need to pass multiple parameters, separate them with "+";
If you have other script interpreters, or independent running environments (such as ASP, PHP, JAVA);
After proper configuration, it can also be run as a server-side program to output dynamic pages.
Document list:
httpsrv.exe web server main program file
httpsrv.ini main program configuration file, through which you can change the configuration of the server and this site.
Before running the program for the first time, please make the correct configuration
MIME.ini records known MIME file types, do not modify this file
Notice:
There is no installation program and no registry. Copy the three files to the same directory.
Modify httpsrv.ini according to your own situation, and the installation is complete.
The contents of the httpsrv.ini file should not exceed 255 lines. Blank lines and comments starting with "#", ";" will be ignored.
Of course, if iis is running on your machine, you should first stop iis before running this program, otherwise iis will occupy port 80.
Expand