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.
没有合适的资源?快使用搜索试试~ 我知道了~
HTTP2.rar_HTTP 服务器_http2
共78个文件
h:20个
cpp:18个
gif:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 173 浏览量
2022-09-14
14:15:02
上传
评论
收藏 185KB RAR 举报
温馨提示
包括HTTP的服务器程序,又包括HTTP的浏览器程序。
资源推荐
资源详情
资源评论
收起资源包目录
HTTP2.rar (78个子文件)
www.pudn.com.txt 218B
HTTP
《--程序--》MyHTTP客户端
HttpClinet
HttpClinet.h 1KB
res
HttpClinet.ico 1KB
HttpClinet.rc2 402B
HttpClinet.cpp 2KB
HttpClinet.clw 1KB
HttpClinet.dsp 4KB
HttpClinetDlg.h 1KB
HttpClinetDlg.cpp 5KB
HttpClinet.aps 21KB
StdAfx.cpp 212B
resource.h 826B
HttpClinet.dsw 545B
StdAfx.h 1KB
HttpClinet.ncb 65KB
HttpClinet.plg 1KB
HttpClinet.opt 53KB
HttpClinet.rc 5KB
ReadMe.txt 4KB
HTTPSVR
SVRADMIN
HTTPSVR.GIF 2KB
FOLDER.GIF 883B
BLANK.GIF 832B
PREV.GIF 856B
FILE.GIF 882B
ROOTPAGE.CPP 3KB
Log 20031110.hsl 239B
README.TXT 4KB
LISTEN.CPP 1KB
Reqsock.cpp 35KB
NOROOT.H 1KB
HTTPVIEW.H 3KB
HyperLinker.cpp 4KB
HttpSvr.aps 69KB
Httpdoc.cpp 8KB
HTTPVIEW.CPP 15KB
httpsvr.plg 1KB
HTTPSVR.ncb 321KB
HTTPSVR.BLD 15KB
HTTPSVR.H 2KB
MAKEFILE 629B
RES
DEFAULT.HSC 44B
IMAGES.BMP 3KB
HTTPSVR.RC2 399B
httpdoc.ico 766B
hnwse.cur 766B
MAINFRM.ico 1KB
logfile.ico 5KB
SMIMAGES.BMP 886B
STDAFX.CPP 633B
HttpSvr.rc 19KB
HTTPSVR.OPT 75KB
httpsvr.dsp 6KB
STDAFX.H 1KB
HTTPSVR.DSW 537B
ROOTPAGE.H 1KB
HyperLinker.h 2KB
MAINFRM.CPP 3KB
MAINFRM.H 2KB
HTTPSVR.MAK 11KB
REQUEST.CPP 1KB
resource.h 6KB
HTTPDOC.H 2KB
HTTP.CPP 2KB
HTTPSVR.CLW 4KB
NOROOT.CPP 1KB
httpsvr.exe 208KB
NAMEPAGE.H 1KB
HTTP.H 1KB
NAMEPAGE.CPP 3KB
HTTPSVR.REG 3KB
REQUEST.H 2KB
Httpsvr.cpp 6KB
Reqsock.h 3KB
GENPAGE.CPP 2KB
GENPAGE.H 1KB
ROOTDLG.CPP 1KB
ROOTDLG.H 1KB
LISTEN.H 737B
共 78 条
- 1
资源评论
小波思基
- 粉丝: 72
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- hasp驱动 win10可用,不死机不蓝屏
- 00000000044242851月光摇篮曲.m4a
- 基于JavaScript讲解的数据结构和算法
- python计算机视觉python-computer-vision.rar
- VB+ACCESS计算机等级考试管理系统(源代码+系统+答辩PPT).zip
- python密码python-ciphers.rar
- 2c60fbb3dt9ad50ed8864298eea1484b.MP4
- 基于yolov8+dlib实现视觉识别的安全驾驶监测系统部署到jetson NX平台源码+模型.zip
- Qt框架+OpenCV+动态爱心+编程教学+520
- 基于opencv+yolov8实现目标追踪及驻留时长统计源码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功