摘要: Name)){ $webSite=new COM("IIS://localhost/w3svc/".$obj3w->Name.'/Root'); echo "[ID ] " .$obj3w->Name.''; echo "[NAME ] " .$obj3w->ServerComment.''; $state=intval($obj3w->ServerState); if ($state==2) { echo "[STATE ] running" 阅读全文
posted @ 2014-03-30 23:30 Hookjoy 阅读(441) 评论(0) 推荐(0)
摘要: 前些天临时写的一脚本级反向代理程序,用法很简单,设置好目标站地址,然后放到你网站根目录:index.asp,再将404页面自定义为:index.asp,即可。由于暂时没有 url 替换需要,所以没有写 url 替换规则,如果你有需要的话,可以在末尾写个函数替换 http.ResponseBody 中的内容。 0 Then '提取参数 url = Mid(Request.QueryString, Len("404;http://" & Request.ServerVariables("HTTP_HOST") & ":&qu 阅读全文
posted @ 2014-03-30 22:39 Hookjoy 阅读(1148) 评论(0) 推荐(0)