nginx 0day解决方法 解决Nginx文件类型错误解析漏洞的方法

十二月 29th, 2010 | 2 Comments | Posted in Nginx | 阅读次数: 167 次

Author:gaojinbo Time:2010-12-29 nginx 0day解决方法,其实不是nginx本身的漏洞,而是PHP PATH_INFO的漏洞   方法1: vi /etc/php.ini c[......]

Read more

Tags:

php nginx pathinfo支持配置

十二月 29th, 2010 | 3 Comments | Posted in Nginx, PHP | 阅读次数: 362 次

Author:gaojinbo Time:2010-12-29 nginx path_info支持,php path_info,nginx pathinfo,nginx下安装php168,根据以下配置,就能很方便地在nginx上安装[......]

Read more

Tags: , ,

nginx-0.9.3发布

十二月 14th, 2010 | 1 Comment | Posted in Nginx | 阅读次数: 120 次

nginx(发音同 engine x)是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,并在一个BSD-like 协议下发行。由俄罗斯的程序设计师Igor Sysoev所开发,最初供俄国大型的入口网站及[......]

Read more

Tags:

nginx 301重定向 简单实用

九月 10th, 2010 | 7 Comments | Posted in Nginx | 阅读次数: 291 次

Author:gaojinbo Time:2010-9-1 nginx中进行301重定向(301 redirect)是非常容易的。比方说要将*.gaojinbo.com永久性重定向至www.gaojinbo.com,方法: [......]

Read more

Tags:

linux下nginx+python配置

七月 17th, 2010 | 16 Comments | Posted in Nginx | 阅读次数: 735 次

Author:gaojinbo Time:2010-7-17 linux下nginx+python配置,以下文章只记录了重点部分   mod_wsgi下载 http://hg.mperillo.ath.[......]

Read more

Tags:

Nginx处理cookie

六月 22nd, 2010 | 6 Comments | Posted in Nginx | 阅读次数: 439 次

群众的力量是巨大的,群众的智慧是无穷的。其实这次的需求就让我体会到这句话的意义。 现有一需求,需要把我们手机网站的cookie信息记录到access.log里,数据挖掘部门需要根据这个来统计用户行为。其实我还真没有这样记录过日志,后来[......]

Read more

Tags:

通过Nginx使全站页面变灰

五月 10th, 2010 | 1 Comment | Posted in Nginx | 阅读次数: 374 次

原文来自张宴的博客,经过优化,去除多余文字,测试通过,发上来与大家分享! 只需要在Nginx负载均衡服务器上,利用sub_filter指令在输出的HTML中增加一行: <style type="text/css&qu[......]

Read more

Tags:

nginx0.7.65源码编译安装on centos V1.1

四月 19th, 2010 | 4 Comments | Posted in Nginx | 阅读次数: 237 次

制作:高进波 时间:2010-04-03 主题:nginx源码编译安装on centos 1.环境 centos5.4    nginx0.7.65   2.下载源码[......]

Read more

Tags:

Bo-Blog 2.1.1 的 Nginx Rewrite 规则

二月 3rd, 2010 | 1 Comment | Posted in Nginx | 阅读次数: 177 次

原文链接:http://blog.s135.com/bo-blog_nginx_rewrite/ Bo-Blog是一款采用PHP开发的单用户博客程序,本人的博客也采用的是Bo-Blog,个人觉得bo-blog的排版、易用性要比Wor[......]

Read more

Tags:

使用Nginx的proxy_cache缓存功能取代Squid

一月 15th, 2010 | 2 Comments | Posted in Nginx | 阅读次数: 943 次

原文链接:http://blog.s135.com/nginx_cache/ Nginx从0.7.48版本开始,支持了类似Squid的缓存功能。这个缓存是把URL及相关组合当作Key,用md5编码哈希后保存在硬盘上,所以它可以支持任[......]

Read more

Tags: