CI framework method to remove index.php in url, ciindex.php
1 Modify apache’s httpd.conf file
#LoadModule rewrite_module modules/mod_rewrite.so
Remove the # in front of it
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 method to remove index.php in url, ciindex.php 1 Modify apache’s httpd.conf file #LoadModule rewrite_module modules/mod_rewrite.so Remove the # 2 in front and find your program directory...