httprequest代码:框架文件放在e盘web内Dim fl As String = "e:\web\" & e.path
If filesys.FileExists(fl)
Dim idx As Integer = fl.LastIndexOf(".")
Dim ext As String = fl.SubString(idx)
Select Case ext
Case ".jpg",".gif",".png",".bmp",".wmf",".js",".css" ,".html",".htm",".zip",".rar"
e.WriteFile(fl)
Return '这里必须返回
End Select
End If
Select Case e.Path
Case "index.htm" '首页
Functions.Execute("index",e)
Return
end select
服务器启用代码:
HttpServer.Prefixes.Add("http://127.0.0.1:90/")
HttpServer.Prefixes.Add("http://*/")
HttpServer.Start()
在浏览器输入http://127.0.0.1:90/index.htm,测试好一会了,页面也还不显示,怎么回事勒
[此贴子已经被作者于2018/9/17 21:57:09编辑过]