最佳答案
已经解决问题 apache下 .htaccess的配置问题,含有?s=/$的参数导致的报错,使用如下的配置可以解决问题。
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
讨论数量:
已经解决问题 apache下 .htaccess的配置问题,含有?s=/$的参数导致的报错,使用如下的配置可以解决问题。
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
推荐文章: