0
这是apache的伪静态语句
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>

1 个回答

0
location / {
    try_files $uri $uri/ /index.php?$query_string;
}