以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 关于事件头 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=130396) |
-- 作者:zhy400137 -- 发布时间:2019/1/21 9:45:00 -- 关于事件头 昨天把 HttpServer.Prefixes.Add("http://*/") 这个代码写在了一个按钮里,但发现不起作用, 后面又在HtttpRequest里加入了之前的通用事件头,就可以了,请问下,这个为什么呢?谢谢 |
-- 作者:有点甜 -- 发布时间:2019/1/21 11:28:00 -- 关闭后重启httpserver,如,或者关闭程序重新打开测试。
HttpServer.Close HttpServer.Prefixes.Add("http://*/")HttpServer.WebPath = "d:\\web" \'指定静态文件存储位置 HttpServer.Start() |