推荐:《PHP视频教程》
该方法适用于所有品牌电脑。
iis隐藏index.php方法:
1.先安装微软的URL Rewrite模块 网址是https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads
安装完成后iis会出现url重写模块
2.点击进去点击点击导入规则
3.填入 重写规则 ,然后点击右侧“应用”提交:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
Copyright © 2019- fenyunshixun.net 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务