Request.ServerVariables["Url"]
返回服务器地址Request.ServerVariables["Path_Info"]
客户端提供的路径信息Request.ServerVariables["Appl_Physical_Path"] 与应用程序元数据库路径相应的物理路径R...
分类:
Web程序 时间:
2014-06-29 15:17:00
阅读次数:
271
asp.net开发中,经常遇到“从客户端检测到有潜在危险的Request.Form
值”错误提示,很多人给出的解决方案是:1、web.config文档后面加入这一句:
示例:2、在*.aspx文档头的page中加入validaterequest="false",示例如下:其实这样做是不正确的,会给程...
分类:
其他好文 时间:
2014-06-07 05:04:41
阅读次数:
253
1 2 3 FilterDemo34 /*5 REQUEST
默认情况。如果写了另外一种情况,默认的就没有了6 FORWARD7 INCLUDE8 ERROR9
分类:
其他好文 时间:
2014-06-07 04:34:41
阅读次数:
196
Ubuntu:apt-get -y install build-essential
automake autoconf git-core wget libtoolapt-get -y install libncurses5-dev
libtiff-dev libjpeg-dev zlib1g-dev...
分类:
其他好文 时间:
2014-06-07 02:50:29
阅读次数:
266
1、由于CentOS系统默认源没有memcache安装包,因此需要导入第三方的源。执行如下两条命令:[root@EACNCTCSHHSHH00B001
data]# wget ftp://fr2.rpmfind.net/linux/epel/5/ppc/epel-release-5-4.noarch...
分类:
其他好文 时间:
2014-05-30 18:40:22
阅读次数:
325
jsp内置对象编辑目录1简介2内置组件?request对象?response对象?session对象?out对象?page对象?application对象?exception对象?pageContext对象?config对象3内置对象产生的时机1简介编辑可以不加声明和创建就可以在JSP页面脚本(Ja...
分类:
Web程序 时间:
2014-05-30 18:05:17
阅读次数:
379
Nginx常用来做反向代理,但是作为正向代理大家有没有试过呢?Nginx配置如下:server{
resolver x.x.x.x; listen 82; location / {
proxy_passhttp://$http_host$request_uri; }}注意项:1. 不能有hostna...
分类:
其他好文 时间:
2014-05-30 10:48:33
阅读次数:
237
/*--------前台JS代码-----------*/ var
http_request;function GetAjaxObject(coaInfo){ //根据浏览器的不同来获取XMLHttpRequest对象 if
(window.XMLHttpRequest) { // Mozi...
分类:
Web程序 时间:
2014-05-30 06:05:03
阅读次数:
223
一、数据收发:服务器端:netcat, nc -l -p
port客户端:telnet二、基于HTTP协议:客户端:curl(可查看http header)、wget(完整的HTTP
header和body)在wget一些网页时,会遇到http request send, response: no ...
分类:
其他好文 时间:
2014-05-30 00:56:47
阅读次数:
219
今天在测试网站的时候,在浏览器中输入http://localhost/时,发生如下错误:HTTP
Error 500.21 - Internal Server ErrorHandler
"WebServiceHandlerFactory-Integrated" has a bad module "M...
分类:
其他好文 时间:
2014-05-29 12:09:49
阅读次数:
192