NetCup部署ThinkPHP6项目Apache重写

<IfModule mod_rewrite.c>
    Options -MultiViews
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注