HTTPSVR 源代码

  • W8_948969
    了解作者
  • 4MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-13 02:38
    上传日期
HTTPSVR 源代码
HTTPSVR.rar
  • HTTPSVR
  • HTTPSVR.ncb
    113KB
  • Httpsvr.cpp
    5.8KB
  • Release
  • HttpSvr.res
    23.4KB
  • HyperLinker.obj
    18.1KB
  • MainFrm.obj
    14.6KB
  • RootDlg.obj
    8.8KB
  • RootPage.obj
    15KB
  • GenPage.obj
    11.3KB
  • HttpSvr.obj
    20.8KB
  • vc60.idb
    65KB
  • Request.obj
    9.4KB
  • HttpDoc.obj
    21.7KB
  • NoRoot.obj
    8.8KB
  • Http.obj
    10.7KB
  • ReqSock.obj
    68KB
  • HttpView.obj
    35KB
  • StdAfx.obj
    590B
  • NamePage.obj
    14.3KB
  • httpsvr.exe
    92KB
  • Listen.obj
    6.5KB
  • httpsvr.pch
    3.8MB
  • SVRADMIN
  • HTTPSVR.GIF
    2KB
  • PREV.GIF
    856B
  • FOLDER.GIF
    883B
  • FILE.GIF
    882B
  • BLANK.GIF
    832B
  • Log 20031110.hsl
    239B
  • HTTPSVR.DSW
    537B
  • HttpSvr.rc
    18.9KB
  • ROOTDLG.CPP
    1.4KB
  • HttpSvr.aps
    50KB
  • httpsvr.plg
    250B
  • Reqsock.cpp
    35.4KB
  • HTTPDOC.H
    2.1KB
  • STDAFX.CPP
    633B
  • README.TXT
    3.6KB
  • NOROOT.CPP
    1.3KB
  • RES
  • DEFAULT.HSC
    44B
  • MAINFRM.ico
    1.1KB
  • HTTPSVR.RC2
    399B
  • logfile.ico
    4.7KB
  • IMAGES.BMP
    3.1KB
  • httpdoc.ico
    766B
  • hnwse.cur
    766B
  • SMIMAGES.BMP
    886B
  • ROOTPAGE.CPP
    3KB
  • LISTEN.CPP
    1KB
  • GENPAGE.H
    1.1KB
  • Httpdoc.cpp
    7.9KB
  • Reqsock.h
    3KB
  • ROOTPAGE.H
    1.3KB
  • HTTPSVR.BLD
    15.3KB
  • HTTPSVR.MAK
    11.3KB
  • Debug
  • Http.sbr
    0B
  • vc60.pdb
    132KB
  • HttpSvr.res
    23.4KB
  • HttpDoc.sbr
    0B
  • Request.sbr
    0B
  • ReqSock.sbr
    0B
  • HyperLinker.obj
    19.7KB
  • httpsvr.pdb
    1MB
  • MainFrm.obj
    23.1KB
  • RootDlg.obj
    11.9KB
  • httpsvr.bsc
    2.5MB
  • RootDlg.sbr
    0B
  • NamePage.sbr
    0B
  • NoRoot.sbr
    0B
  • Listen.sbr
    0B
  • RootPage.obj
    23KB
  • GenPage.obj
    16.2KB
  • HttpSvr.obj
    31.1KB
  • vc60.idb
    185KB
  • GenPage.sbr
    0B
  • Request.obj
    16.2KB
  • HttpDoc.obj
    38.2KB
  • RootPage.sbr
    0B
  • NoRoot.obj
    11.8KB
  • StdAfx.sbr
    823.8KB
  • httpsvr.ilk
    639.7KB
  • Http.obj
    18.2KB
  • HyperLinker.sbr
    0B
  • ReqSock.obj
    130.7KB
  • HttpView.obj
    56.6KB
  • StdAfx.obj
    53.3KB
  • HttpView.sbr
    0B
  • HttpSvr.sbr
    0B
  • NamePage.obj
    21.3KB
  • httpsvr.exe
    208.1KB
  • Listen.obj
    10.6KB
  • httpsvr.pch
    4.3MB
  • MainFrm.sbr
    0B
  • HTTPVIEW.CPP
    15.2KB
  • HTTPVIEW.H
    3KB
  • REQUEST.CPP
    1.2KB
  • NAMEPAGE.CPP
    3.2KB
内容介绍
HTTPSvr: ============================= 这是微软提供的HTTP服务器例程,使用时需要再建一个 C:\webpages\目录。把该目录下的webpages拷到C:即可。 下面是原来的readme HttpSvr Installation and Tips ============================= HttpSvr is an MFC sample web server application. It operates as a single-document interface application, configured with an HttpSvr Configuration file (.HSC). You create HSC files by selecting "Save" from the "Server" menu. The application registers the HSC files with the system so that double-clicking on an HSC file will start HttpSvr. Multiple instances of HttpSvr can be running at any time, but only one can be listening on any particular port (80 being the default). Setup Instructions ================== Step 1: Build the HttpSvr.exe project. Step 2: Create a root HTTP directory named "WebPages" in the root folder of the same drive as the executable (see below). Step 3: Copy the folder "SvrAdmin" and all it's contents into the root HTTP folder. Step 4: Run the copy of HttpSvr.exe on your hard drive. Your are now ready to serve up your web pages. Keep in mind that if you make any changes to the default configuration, you'll have to save those settings into an HttpSvr Configuration file (.HSC) via the "Save" item on the "Server" menu, and launch future HttpSvr sessions from the resulting .HSC file in order to re-use those settings. Root HTTP Folder ================ By default, the server will attempt to serve-up files from the folder "WebPages" on the same drive as the executable. When you first run HttpSvr, if that folder does not exist, it will ask you if you want to create it. You do not have to use that folder; you can specify another. Just remember that a different root folder is a change in configuration and should be saved as a new HttpSvr Configuration file (.HSC). It is highly recommended that you copy the SvrAdmin subfolder from the source directory to this folder so that the directory listing icons can be used by your server when a default document file is not available. For example, I put my root at C:\WebPages, and the tree looks something like: C:\ WebPages\ SvrAdmin\ RonLo\ Cmd95\ HttpSvr\ Everything in and under "WebPages" will be available for viewing over the web (as long as the hidden attribute is not set). ***Don't forget to copy "SvrAdmin"!!*** Tips ==== Unless you want people to be able to browse all the files in a directory FTP-like, include an HTML file named "default.html" that will get loaded automatically. HttpSvr is smart enough to look for default files with names like default.html, default.htm, index.html and index.htm. If you do want people to be able to browse (like if you have a directory of files that can be downloaded), files with the "hidden" attribute set will not be available for download but will still be listed. If the SvrAdmin folder was not installed as a subfolder of your main root HTTP directory, directory listings will be quite ugly due to the server not finding the icons that should be there. The most important directory to have a default.html file is the root HTTP folder. This is the one people type in when they're not sure of any specific page names. For example, my server's name is "RonLo." When someone types a URL of "http://RonLo" or just "RonLo", the default.html file in the root HTTP file gets loaded, and it tells them what all is on my server. If none of the default HTML files are present, it will look for a CGI app named (you gessed it) default.exe. If it finds one, it will run it as a GET operation without any parameters.
评论
    相关推荐
    • CasseBrique:https
      CasseBrique:https
    • plaintextoffenders:https
      纯文字罪犯 向报告的域的公开列表
    • 使用socket post 数据到httphttps
      使用socket post 数据到httphttps
    • nodejs http-server开启https的证书
      https证书文件,nodejs http-server开启https的证书,可以直接在本地启动https的协议,方便部署和使用。
    • http https 切换
      http https切换代码,能够实现网站在传输信息的过程中不易遭人盗取
    • Http2Https-crx插件
      将书签中的http转换为https 害怕用https书签替换旧的http书签? 随着许多网站迁移到https,旧的http书签使星标图像为空。 搜索并转换为https! ****************************************************** ***********...
    • LocomotiveCMS https to http-crx插件
      语言:English 将登录网址从https替换为http以进行开发 此扩展程序供使用机车cms开发应用程序时供个人使用。 为了易于在开发模式下使用,此扩展程序将https登录网址替换为http
    • http:https的镜像
      框架HTTP
    • CookieIsolator:分离 HTTPHTTPS cookie
      松散隔离:HTTP cookie 只能在 HTTP 通道中发送,而 HTTPS cookie 可以在 HTTP(不带安全标志)和 HTTPS 通道中发送。 严格隔离:HTTP cookie 和 HTTPS cookie 只能分别在 HTTPHTTPS 通道中发送。 Ext Secure...
    • https协议
      NULL 博文链接:https://willwen.iteye.com/blog/1988199