iis6隐藏index.php的方法-创新互联
这篇文章给大家分享的是有关iis6隐藏index.php的方法的内容。小编觉得挺实用的,因此分享给大家做个参考。一起跟随小编过来看看吧。

iis6隐藏“index.php”的方法:首先打开“httpd.ini”文件;然后设置伪静态规则为“RewriteRule ^(?!/index.php)(?!/admin.php)(.*)$ /index.php/$1 [L]”即可。

IIS6 隐藏index.php的方法
thinkphp httpd.ini 伪静态规则
[ISAPI_Rewrite]
RewriteRule .*\.(?:gif|jpg|png|css|js|txt|jpeg|swf|flv) $0 [I,L]
RewriteRule /httpd(?:\.ini|\.parse\.errors) / [F,I,O]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(?!/index.php)(?!/admin.php)(.*)$ /index.php/$1 [L]感谢各位的阅读!关于iis6隐藏index.php的方法就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到吧!
分享题目:iis6隐藏index.php的方法-创新互联
分享URL:http://www.jxjierui.cn/article/dejshe.html


咨询
建站咨询
