码迷,mamicode.com
首页 >  
搜索关键字:mginx location    ( 8134个结果
JavaScript——BOM(浏览器对象模型),时间间隔和暂停
BOM(浏览器对象模型) 1、基本的BOM体系2、screen 对象3、location对象4、history对象5、navigator对象6 、时间间隔和暂停setTimeout 和 setInterval 的区别...
分类:编程语言   时间:2014-10-29 21:35:41    阅读次数:202
IOS应用开发版本控制工具之Versions使用
Versions版本控制工具破解版(Versions.zip)下载请见本博文附件。下载后在MAC安装完以后,图标是莲花状。见下图:双击运行如下图: 点击Repository,连接SVN服务器Repository(服务器端采用的是SVN服务端),见下图: 输入所需值,如下图:Location 值要与....
分类:移动开发   时间:2014-10-29 14:42:48    阅读次数:191
关于js中window.location.href,location.href,parent.location.href,top.location.href的使用方法
关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的使用方法"window.location.href"、"location.href"是本页面跳转"parent.locatio...
分类:Windows程序   时间:2014-10-29 12:28:21    阅读次数:260
php以不同名字下载同一个文件(x-sendfile) 【转】
1、linux 下nginx默认支持x-sendfile模式Nginx 默认支持该特性,不需要加载额外的模块。需要发送的 HTTP 头为 X-Accel-Redirect。另外,需要在配置文件中做以下设定location /protected/ { internal; root /some/pa.....
分类:Web程序   时间:2014-10-29 08:02:47    阅读次数:151
PostgreSQL with PostGIS for mapping coordinates
For location based service, I try to use postgresql with postgis.You can download postgis from here.http://postgis.net/sourceIt is recommended that yo...
分类:移动开发   时间:2014-10-28 21:34:00    阅读次数:297
关于js中"window.location.href"、"location.href" 等如何跳转
关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法"window.location.href"、"location.href"是本页面跳转"parent.location.href"是上一层页面跳转"top.location.href"是最外层的页面跳转举例说明:如果A,B,C,D都是jsp,D是..
分类:Windows程序   时间:2014-10-28 15:48:04    阅读次数:271
js_截取Url值
"total" -->传递参数时的名字var reg = new RegExp("(^|&)" + "total" + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg);$("#...
分类:Web程序   时间:2014-10-28 13:49:26    阅读次数:152
王立平--android中的权限
//允许应用程序访问和修改checkin数据库中”properties”表数据 android.permission.ACCESS_CHECKIN_PROPERTIES //允许应用程序通过WiFi或移动基站获取粗略的位置信息 android.permission.ACCESS_COARSE_LOCATION //允许应用程序通过GPS获取精确的位置信息 android.pe...
分类:移动开发   时间:2014-10-28 09:24:55    阅读次数:150
Nginx通过请求的URL做定向路由策略
应用有一个场景是需要根据url中"&_router=10.0.0.1"参数指定的机器转发到相应机器上做处理,看了一下Nginx文档,发现可以通过内嵌变量$arg_来完成,比较方便和灵活,代码如下:location/{ if($arg__router=10.0.0.1){ proxy_passhttp://10.0.0.1:8080; break; } if($arg__r..
分类:Web程序   时间:2014-10-28 02:17:57    阅读次数:228
AJAX同步和异步
请求方式,分为GET与POST:GET最为常见的HTTP请求,普通上网浏览页面就是GET。GET方式的参数请求直接跟在URL后,以问号开始。(JS中用window.location.search获得)。参数可以用encodeURIComponent进行编码,使用方式:varEnParam=encod...
分类:Web程序   时间:2014-10-27 22:56:05    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!