The CI framework removes the index. php method from the url, ciindex. php. Remove the index from the url in the CI framework. php method, ciindex. php1 modifies httpd of apache. conf file # LoadModulerewrite_modulemodulesmod_rewrite.so remove the previous #2 find your program directory CI framework and remove the index in the url. php method, ciindex. php
1. modify the httpd. conf file of apache
# LoadModule rewrite_module modules/mod_rewrite.so
Remove the previous #
2. find the. htaccess file in your program directory.
The content is as follows:
RewriteEngine On
RewriteBase/
RewriteCond % {REQUEST_FILENAME }! -F
RewriteCond % {REQUEST_FILENAME }! -D
RewriteRule ^ (. *) $/index. php/$1 [L]
Save and restart
Http://www.bkjia.com/PHPjc/991534.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/991534.htmlTechArticleCI framework remove the index. php method in the url, ciindex. php 1 modify apache httpd. conf file # LoadModule rewrite_module modules/mod_rewrite.so remove the previous #2 find your program directory...