Home > Backend Development > PHP Tutorial > CI框架删除index.php有关问题,求解惑

CI框架删除index.php有关问题,求解惑

WBOY
Release: 2016-06-13 12:42:07
Original
753 people have browsed it

CI框架删除index.php问题,求解惑
当前项目放在根目录下建立.htaccess文件
RewriteRule ^(.*)$ /index.php/$1 [L]
这个路径可以去掉index.php
但是我放在2级目录下CI文件下
RewriteRule ^(.*)$ /index.php/$1 [L]
改为
RewriteRule ^(.*)$ /CI/index.php/$1 [L]
但是找不到文件目录了
怎么解?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template