1

如何在切诺基中使用以下 apache 重写规则?

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?$1 [QSA,L]
</IfModule>

我试图像这样修复它:

Regex      Substitution
^/(.*)$    /index.php?$1

但它没有工作......

4

0 回答 0