错误:yii2 You don't have permission to access /dhm/composer/yii2/web/index.php/admin/permission on this s
解决:
在web下有.htaccess这个文件
我们需要把规则index.php后面加上?
RewriteRule ^(.*)$ index.php/$1 [L]
修改后:
RewriteRule ^(.*)$ index.php?/$1 [L]
错误:yii2 You don't have permission to access /dhm/composer/yii2/web/index.php/admin/permission on this s
解决:
在web下有.htaccess这个文件
我们需要把规则index.php后面加上?
RewriteRule ^(.*)$ index.php/$1 [L]
修改后:
RewriteRule ^(.*)$ index.php?/$1 [L]