欢迎光临IT网Linux学习频道

当前位置: > Linux服务器 >
  • [nginx] nginx日志 日期:2015-01-19 12:55:24 点击:96 好评:2

    nginx日志 1 、错误日志:主要记录客户端访问nginx出错时的日志,格式不支持自定义, 如何关闭: http 外定义 error_log /dev/ null ; #注意 这样写并不会关闭,而是写入到off的文件里 error_log off; 默认存放位置: prerix/logs/ prerix/logs/ nginx.pid...

  • [nginx] nginx 配置文件详解 日期:2015-01-19 12:54:24 点击:78 好评:0

    # 运行用户 user nobody; # 启动进程,通常设置成和cpu的数量相等 worker_processes 1 ; # 全局错误日志及PID文件 # error_log logs/error.log; # error_log logs/error.log notice; # error_log logs/error.log info; # pid logs/nginx.pid; # 工作模式及连...

  • [nginx] 开启Nginx的目录文件列表功能 日期:2015-01-19 12:48:58 点击:180 好评:2

    ngx_http_autoindex_module 此模块用于自动生成目录列表,ngx_http_autoindex_module只在 ngx_http_index_module模块未找到索引文件时发出请求. nginx默认是不允许列出整个目录的。 开启目录列表: 打开nginx.conf文件,在location server 或 http段中加入 a...

  • [Lighttpd] webpy的Lighttpd配置 日期:2015-01-19 12:46:39 点击:143 好评:0

    在生产环境下推荐在Lighttpd中以FastCGI形式运行webpy,reddit.com使用这种方式处理日Pv量达到百万。 lighttpd的配置文件如下 server.modules = (mod_fastcgi, mod_rewrite) server.document-root = /path/to/root/ fastcgi.server = ( /code.py = (( socket...

  • [Lighttpd] lighttpd下配置web.py fastcgi 日期:2015-01-19 12:46:14 点击:63 好评:0

    历时10小时,终于解决了3台机器上的web.py框架的程序在lighttpd下跑fastcgi错误的问题 综合起来有以下几点, 系统中包含了多个python的解释器,使用python命令与/usr/bin/python不是同一个解释器,这种情况下web.py可能无法使用正确的解释器,这点在centos下...

  • [Lighttpd] lighttpd支持wordpress postname permalink的方法 日期:2015-01-19 12:39:22 点击:111 好评:0

    wp用的htaccess,lighttpd不支持,但只需要设置下lighttpd,一样可以支持postname permalink了。加入下面的语句即可。这段配置来自素包子(http://baoz.net/) text代码 $HTTP [ host ] =~ xxxx . org { server . error - handler - 404 = / index . php serve...

  • [Lighttpd] freebsd中lighttpd相关操作 日期:2015-01-19 12:38:46 点击:188 好评:0

    停止lighttpd服务器 # /usr/local/etc/rc.d/lighttpd stop 重启lighttpd服务器 # /usr/local/etc/rc.d/lighttpd restart 启动lighttpd服务器 # /usr/local/etc/rc.d/lighttpd start...

  • [Lighttpd] lighttpd配置SSL支持 日期:2015-01-19 12:37:55 点击:138 好评:0

    1、编译SSL支持 2、生成证书;以下命令将生成三倍-DES加密,PEM格式的RSA私钥。 openssl genrsa - des3 - out server . key 1024 注意,你可以通过以下命令查看证书内容: openssl rsa - noout - text - in server . key 你也可以生成不带密码的版本: opens...

  • [ftp] vsftp配置及查看FTP日志 日期:2015-01-19 12:33:05 点击:126 好评:0

    FTP服务器的日志设置,可以通过修改主配置文件/etc/vsftpd.conf实现。主配置文件中与日志设置有关的选项包括xferlog_enable、xferlog_file和dual_log_enable等。 xferlog_enable 如果启用该选项,系统将会维护记录服务器上传和下载情况的日志文件。默认情况...

  • [ftp] vsftp增加日志内容--权限管理的思考 日期:2015-01-19 12:30:30 点击:118 好评:0

    1问题描述 昨天刚向实验室的同学公开一个movie帐户,其实是想大家都能telnet,或ssh上,有空玩玩。没想到有人就用这个帐号在ftp上删除了文件。 首先vsftp默认只有上下传记录,根本没有本地用户的删除或建目录的操做。这个在lastlog里也不会有痕迹。所以对公开...

  • 首页
  • 上一页
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 下一页
  • 末页
  • 5405398
栏目列表
推荐内容