Home  >  Article  >  php教程  >  配置htaccess文件隐藏index.php

配置htaccess文件隐藏index.php

WBOY
WBOYOriginal
2016-06-07 11:46:011230browse

用于在apache环境下面隐藏URL地址中的index.php<ifmodule><br> RewriteEngine on<br> RewriteCond %{REQUEST_FILENAME} !-d<br> RewriteCond %{REQUEST_FILENAME} !-f<br> RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]<br> </ifmodule>

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn