当前位置: 首页 > nginx
  • eventfd() failed when start nginx

    yum install nginxservice nginx start error.log:2011/01/07 05:39:49 [emerg] 7180#0: eventfd() failed (38: Function not implemented)2011/01/07 05:39:49 [alert] 7179#0: worker process 7180 exited with fatal code 2 and can not be respawn2011/01/07 05:43:01 [emerg] 7296#0: eventfd() failed (38: Funct ...

    阅读全文
    作者:u2 | 分类:nginx, OpenSource | 标签:
    eventfd() failed when start nginx已关闭评论
  • nginx dynamic url rewrite — II

    nginx rewirte II, nginx if has no AND OR and nest,so we only can use regx to do it: ———————————- BEGIN—————————————– location /music/search.html ...

    阅读全文
    作者:u2 | 分类:nginx, OpenSource | 标签:
    nginx dynamic url rewrite — II已关闭评论
  • nginx dynamic url rewrite

    I have such a request, will rewrite url to google’s search site,type http://mysite/search/search.html?t=laday gaga –> http://www.google.com/search?q=lady%20gagaI donn’t want to use other tools(php/java etc.) except nginx.For a long time googleing, finally find how to setting ...

    阅读全文
    作者:u2 | 分类:nginx | 标签:
  • nginx authentication

    今天配置nginx的basic authentication折腾了好半天,开始error_log一直报错:no user/password was provided for basic authentication 我是按照nginx的wiki配置的:location  /  {  auth_basic            “Restricted”;  au ...

    阅读全文
    作者:u2 | 分类:OpenSource | 标签:
    nginx authentication已关闭评论
  • nginx+Django+memchached环境搭建备忘

    系统环境Kernal:Linux 2.6.9-78nginx-0.7.61pcre-7.9Python version: 2.5.4Django-1.1-py2.5mysql-5.0.84flup-1.0.2-py2.5MySQL_python-1.2.3c1-py2.5-linux-i686python_memcached-1.44-py2.5setuptools-0.6c9-py2.5 1、nginx、python、mysql的安装可参考官方及网上的安装文档 2、安装django  http://www.djangopr ...

    阅读全文
    作者:u2 | 分类:others | 标签:,
    nginx+Django+memchached环境搭建备忘已关闭评论
  • nginx 的debug模式

    编译的时候添加: –with-debug  nginx.conf中的配置: error_log  logs/error.log debug; #master_process  off;daemon          off;daemon off;             说明:master_proces ...

    阅读全文
    作者:u2 | 分类:OpenSource | 标签:
    nginx 的debug模式已关闭评论