还记得我们定义过一个结构体如下吗?typedef struct { ngx_str_t output_words;} ngx_http_hello_world_loc_conf_t;它就是 HelloWorld 的 location 组件配置,其中有一个字符串成员 output_words。1...
分类:
Web程序 时间:
2014-10-22 17:59:13
阅读次数:
289
elloWorld 是一个典型的 location 模块。什么是 location 模块?在 Nginx 中,根据作用域,有 main 模块、server 模块、location 模块。1 模块定义在 HelloWorld 模块中有一个 ngx_http_hello_world_module 变量,...
分类:
Web程序 时间:
2014-10-22 17:42:13
阅读次数:
276
location.search是从当前URL的?号开始的字符串如:http://www.51js.com/viewthread.php?tid=22720它的search就是?tid=22720通过这个函数就可以轻易取到连接后面带的参数,这个可用户父窗口向子窗口传递参数eg:Java代码:funct...
============问题描述============ 在底部菜单里的更多按钮中,为什么popupWindow.showAtLocation(v,Gravity.NO_GRAVITY,location[0],location[1]-popupWindow.getHeight());这段代码在手机上...
分类:
移动开发 时间:
2014-10-22 00:52:05
阅读次数:
206
alias 指令该指令用于在url和系统路径之间的映射。location /a/{alias /b/;}error_page定义错误页面error_page 404 /404.html;index设置默认页的文件index index.php index.html;Listen表示监听端口liste...
分类:
Web程序 时间:
2014-10-21 16:59:29
阅读次数:
259
1.登陆ACS5.22.登陆进去的ACS5.2界面3.点击networkdevicegroup,然后点击location,进去location界面后点击create,为将要认证的设备配置所在地(可以配置也可以不配置,就是为设备定义一个地点)4.然后点击devicetype进去后点击create,为将要认证的设备配置设备类型(可以配..
分类:
其他好文 时间:
2014-10-20 17:37:01
阅读次数:
575
微软近期Open的职位:Job Title: Senior Development EngineerDivision: Visual Studio China - Developer DivisionWorking Location: Shanghai, ChinaDo you enjoy the ...
分类:
其他好文 时间:
2014-10-20 17:13:14
阅读次数:
128
对于window.location,我们比较熟悉,它有protocol,hostname,host,port,search,hash,href,pathname等属性,a标签也和window.location一样,也有这样属性
分类:
Web程序 时间:
2014-10-20 16:57:26
阅读次数:
167
我们大部分默认的nginx连接方式为php-cgi监听127.0.0.1:9000的方式,刚刚测试了使用socket方式连接,速度飞快啊!nginx配置方法:location~\.php${fastcgi_passunix:/dev/shm/php-fpm.sock;fastcgi_indexindex.php;fastcgi_paramSCRIPT_FILENAME/opt/www_data/code/public_html..
分类:
Web程序 时间:
2014-10-20 15:24:00
阅读次数:
305
http://hljqfl.blog.163.com/blog/static/40931580201122210573364/在写ASP.Net程序的时候,我们常常遇到跳转页面的问题,我们常常使用Response.Redirect 做ASP.NET框架页跳转,假设客户要在跳转的时候使用提示,这个就不...