如何删除码点火器路径中的“index.php”如何删除"index.php"在中央某个地方的代码点火器的每一条路上突出?我要干净的index.php-fied URLs?
3 回答
![?](http://img1.sycdn.imooc.com/545862aa0001f8da02200220-100-100.jpg)
慕村225694
TA贡献1880条经验 获得超4个赞
RewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php/$1 [L] <Files "index.php">AcceptPathInfo On</Files>
| 'AUTO' Default - auto detects| 'PATH_INFO' Uses the PATH_INFO| 'QUERY_STRING' Uses the QUERY_STRING| 'REQUEST_URI' Uses the REQUEST_URI| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO $config['uri_protocol'] = 'ORIG_PATH_INFO';
RewriteRule ^(.*)$ /subofolder1/subfolder2/index.php/$1 [L]
$config['index_page'] = '';
- 3 回答
- 0 关注
- 524 浏览
添加回答
举报
0/150
提交
取消