随笔分类 - apache/nginx/cgi/fastcgi/php-fpm
web server
摘要:#!/bin/bash#function:cut nginx log files for lnmp v0.5 and v0.6#author: http://lnmp.org#set the path to nginx log fileslog_files_path="/home/wwwlogs/"log_files_dir=${log_files_path}$(date -d "yesterday" +"%Y")/$(date -d "yesterday" +"%m")#set nginx l
阅读全文
摘要:Apache Rewrite处理?问号后的请求参数A地址:http://www。domain。com/ProductView.jsp?lClassID=200B地址:http://www。domain。com/goods.php?id=3实现把用户输A地址跳到B地址,就是跳转的功能。原先用我用最常的方法实现如:RewriteRule ^ProductView.jsp?lClassID=200$ goods.php?id=3 [L]看上去是没有问题的,但在地址上输入跳转不了。后来网上查了一下资料如下:规则:文本. 任意一个单字符[chars] 字符类: "chars"中的任意
阅读全文

浙公网安备 33010602011771号