2
我的.htaccess是重定向问题
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([a-z0-9_-]+)\.html$ index.php/page/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|asset|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
</IfModule>
但它不是在mochahost工作,我试了几个时间,但它不工作。我怎么解决这个问题?
您使用笨的什么版本,您使用的XAMPP或WAMP? – user4419336
在您的服务器上启用了mod_rewrite – RiggsFolly
这与mysql有什么关系? – dsharew