备份IIS httpd.ini 重写规则,兼容大部分版本号IISserver
2015-02-12 10:12
435 查看
IISserver已经非常少,差点儿要退出市场了。nginx成为市场的主流。
备份一个httpd.ini,全部内容例如以下:
备份一个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 重写规则,兼容大部分版本IIS服务器
- 伪静态规则(Apache htaccess , IIS httpd.ini)
- IIS httpd.ini rewrite 重写的时候如何忽略查询字符串?
- 谈谈apache的htaccess伪静态规则转换到iis下的httpd.ini规则~
- asp.net,C#,sqlserver,数据库,iis,js,异常,兼容,搜索,性能,备份,编辑器,存取分离,lucene,SEO优化,产品,运营,MVC,三层架构,nhibernate,microsoft,freamwork,网站开发联盟群号:
- 【继承与多态】C++:继承中的赋值兼容规则,子类的成员函数,虚函数(重写),多态
- 如何让IIS支持Apache .htaccess 的重写规则
- 在IIS 中如何配置URL Rewrite,并且利用出站规则保持被重写的Cookie的域
- “Internal Server Error"图片路径正确但是却显示不出来,可能和重写规则有关
- Server.Transfer+IIS配置实现域名重写
- iis 配置httpd.ini 伪静态状态为未知
- 伪静态重写模块rewrite.dll及httpd.ini文件参考下载
- 利用伪静态化Rewrite规则httpd.ini文件实现域名绑定子目录功能
- httpd.ini重写教程
- WinServer-IIS-URL重写
- 有用的IIS重写规则
- 详解iis httpd.ini中IIS图片防盗链的方法
- httpd.ini 规则
- IIS 7 为 URL Rewrite 模块创建重写规则
- 西部数码 linux主机 wordpress 重写规则httpd.conf