-1
关于代码点火器和MySql:
如何通过htaccess从网址隐藏index.php?如何从网址隐藏index.php通过htaccess
关于代码点火器和MySql:
如何通过htaccess从网址隐藏index.php?如何从网址隐藏index.php通过htaccess
在你的文档根目录,一个.htaccess
文件,其中包含以下内容:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt) # these are examples,
# add everything here that
# you **don't** want to be
# routed to CI
RewriteRule ^(.*)$ /index.php/$1 [L]
然后在application/config/config.php
变化:
$config['index_page'] = '';
它无关的MySQL。 – 2010-10-13 06:47:27
重复百次! – DRL 2010-10-13 14:52:30