1.检查下.htaccess: <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] </IfModule> 2.使用了域名的话,是否配置了host文件 3.vhosts.conf文件是否有配置: if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }
1.检查下.htaccess:
2.使用了域名的话,是否配置了host文件
3.vhosts.conf文件是否有配置: