标签:
IISserver已经非常少,差点儿要退出市场了。nginx成为市场的主流。
备份一个httpd.ini,全部内容例如以下:
[ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 #RewriteCond Host: !^job\.zbphp\.com$ #RewriteRule ^(.*)$ http\://job\.zbphp\.com$1 [I,R] RewriteRule ^/public/([a-z0-9]{32})\.html$ /detail\.php\?md5=$1 RewriteRule ^/so([a-z]+)_([^\/]+)/?$ /search\.php\?rewritefn=$1&$1=$2&page=$3 RewriteRule ^/so([a-z]+)_([^\/]+)/([0-9]+)\.html$ /search\.php\?rewritefn=$1&$1=$2&page=$3 #IIS ErrorDocument RewriteRule ^/([0-9]{3})\.(php|asp|htm|html)$ /error\.php\?e=$1
备份IIS httpd.ini 重写规则,兼容大部分版本号IISserver
标签:
原文地址:http://www.cnblogs.com/mengfanrong/p/4287428.html