emlog4.0伪静态规则for nginx/iis

[ 2011-8-22 16:36 Monday | 作者: 麦子 | ]

nginx:

location / {
        index index.php index.html;
        if (!-e $request_filename)
        {
                rewrite ^/(.+)$ /index.php last;
        }
}

IIS6:

[ISAPI_Rewrite]
# 3600 = 1 h...

阅读全文>>

标签: Nginx iis emlog

        解决在Windows 2003的 IIS 6.0 中无法上传超过2M的附件以及无法下载超过4M的附件问题,默认设置是特别严格和安全的,最大只能传送 204,800 个字节,这样可以最大限度地减少因以前太宽松的超时和限制而造成的攻击。(在 IIS 6.0 之前的版本中无此限制)。

解决办法:

一、修改上传限制
...

阅读全文>>

标签: windows iis