httpd092

所属分类:Web服务器
开发工具:Asm
文件大小:55KB
下载次数:4
上传日期:2015-08-16 02:21:04
上 传 者storedproc9
说明:  httpdASM is a simple web server (httpd). The main features of this server are: - supports HTTP 1.1 (reusable connections) - supports ISAPI extensions. (source code is MASM-compatible JWasm)

文件列表:
Debugout.inc (2273, 2005-03-07)
HTTPD.ASM (13175, 2008-07-21)
HTTPD.DEF (181, 2006-10-05)
httpd.dll (16896, 2008-07-21)
httpd.EXE (3584, 2008-07-21)
Httpd.ico (766, 2002-08-22)
Httpd.Inc (377, 2006-10-06)
HTTPD.INI (485, 2004-10-23)
HTTPDcui.ASM (4114, 2006-10-06)
HTTPDgui.ASM (13094, 2006-10-06)
Httpdint.Inc (2132, 2006-10-05)
httpds.EXE (6656, 2008-07-21)
HTTPDsvc.ASM (11782, 2006-10-06)
httpdw.EXE (7680, 2008-07-21)
HTTPRqst.asm (46295, 2008-07-21)
INetTime.ASM (4416, 2006-10-05)
Macros.inc (3212, 2008-06-30)
makefile (2709, 2008-07-21)
MODULES.INC (66, 2006-10-05)
RSRC.RC (954, 2006-10-06)
Utility.asm (8785, 2006-10-05)
Utility.inc (586, 2006-10-06)

1. About httpdASM httpdASM is a simple web server (httpd). The main features of this server are: - supports HTTP 1.1 (reusable connections) - supports ISAPI extensions If you install ISAPI extension jasp.dll httpdASM is able to support Active Server Pages (ASP). Other ISAPI extensions are available implementing PHP, Java servlets or whatever, but they haven't been tested yet. 2. Installation httpdASM doesn't require any special installation jobs, it should run on WinNT 4.0, Win2k, WinXP, Win9x and WinME. On NT platforms httpdASM can be installed as "service". Run "httpds /CRE" to create the "httpdASM" service. The console version of the server (HTTPD.EXE) might also run on true DOS with the help of a packet driver and the HX DOS extender (must be at least v2.9). DOSLFN most likely must then be installed as well. 3. Deinstallation If httpdASM was installed as a service on NT platforms, run "httpds /DEL" to delete the "httpdASM" service. No registry entries are written, so to deinstall httpdASM just delete the files (httpdw.exe, httpds.exe, httpd.exe, httpd.dll and httpd.ini). 4. Running the Server The HTTP server can be launched as a Win32 console application (HTTPD.EXE), as a Win32 windows application (HTTPDW.EXE) or - on NT platforms - as a service (HTTPDS.EXE). The mount point (name of root directory) is the current directory, but can be changed by modifying entry "root" in initialization file httpd.ini. The server looks for httpd.ini in the directory of the executable only. You should also check for valid pathes in [mappings] section of httpd.ini. In this section file extensions can be mapped to ISAPI extensions. 5. Restrictions The ISAPI support is restricted to: - only ISAPI extensions are supported, no ISAPI filters - GetServerVariable: supported variables are: ALL_HTTP, CONTENT_LENGTH,CONTENT_TYPE PATH_INFO, PATH_TRANSLATED, REMOTE_HOST, REMOTE_ADDR REQUEST_METHOD, QUERY_STRING, SCRIPT_NAME SERVER_NAME, SERVER_PORT, SERVER_PROTOCOL, SERVER_SOFTWARE - ServerSupportFunction: Functions meaningful to filters only aren't implemented. Implemented are: HSE_APPEND_LOG_PARAMETER HSE_REQ_DONE_WITH_SESSION HSE_REQ_IS_KEEP_CONN HSE_REQ_IO_COMPLETION HSE_REQ_MAP_URL_TO_PATH HSE_REQ_NORMALIZE_URL HSE_REQ_SEND_RESPONSE_HEADER HSE_REQ_SEND_RESPONSE_HEADER_EX HSE_REQ_SEND_URL HSE_REQ_TRANSMIT_FILE There may exist other restrictions I'm currently not aware of. 6. Creating the Binary/Source code overview As its name suggests httpdASM is written in ASM (MASM syntax). A MAKEFILE to be used with NMAKE is included. Please read this file for further details about how to create the binary. The source files of httpd.dll: - HTTPD.asm: implements class CHTTPServer (the HTTP server). - HTTPDRequest.asm: implements class CHTTPRequest which handles a client request. - Utility.asm: implements some generally used functions. - INetTime.asm: implements 2 functions found in WININET.DLL. - httpdint.inc: internal include file, defines globals, structures, prototypes. - utility.inc: include file defines prototypes for functions of utility.asm. - httpd.inc: include file which defines the prototypes for calling the HTTP server. - httpd.def: defines exported functions of HTTPD.DLL The source files of httpd.exe: - HTTPDcui.asm: Console interface for httpdASM. The source files of httpdw.exe: - HTTPDgui.asm: Windows GUI interface for httpdASM. - rsrc.rc: main resource file. - httpd.ico: icon resource. The source files of httpds.exe: - HTTPDsvc.asm: Runs httpdASM as service. 7. History 08/2002, V0.1: - VBScript support for ASP files - Method Response.Write implemented 08/2002, V0.2: - Collection Request.QueryString implemented - JScript engine supported - Server placeable in status area of taskbar 08/2002, V0.3: - class redesign - Option "Keep-Alive" is supported (default for HTTP 1.1) - Collection Request.Form implemented. - Menu option to display server statistics. 08/2002, V0.4: - HTTP output of ASP is buffered by default. So "Keep-Alive" works with ASP now. 08/2002, V0.5: - Response.Buffer, Response.Flush, Response.Clear and Request. Item implemented. 09/2002, V0.6: - Script engine is cloned now for every ASP thread. This should avoid problems when executing more than one script concurrently. - server reads some parameters from httpd.ini 12/2002, V0.7: - ISAPI support added - All scripting support extracted to newly created ISAPI extension jasp.dll. - Support for TransmitFile on NT platforms. 12/2002, V0.8: - Header "Date:" and "Last-Modified" added and server supports If-Modified-Since now - HTTP/0.9 supported (simple requests and simple responses) - Method HEAD supported 11/2004, V0.86: - Bugs fixed. - Icon shows in taskbar again after explorer restarts 02/2005, V0.87: - source changed to use h2incx generated includes, MASM32 no longer used. 02/2005, V0.88: - some superfluous references to MASM32 files removed - httpext.inc removed (now included in win32inc.zip) 10/2006, V0.9: - the HTTP server is now in a separate binary HTTPD.DLL, and it can either be run as a console application by HTTPD.EXE or as a windows application by HTTPDW.EXE. 10/2006, V0.91: - added httpds.exe to allow to start httpdASM as a NT/XP service. 07/2008, V0.92: - switched to JWasm. 8. Copyrights httpdASM is open source. The core is based on a httpd written by JT. Use it as you wish, but do not include copyrights without substantial changes made! japheth (mail@japheth.de)

近期下载者

相关文件


收藏者