主机移动后,Laravel 403 Forbidden错误

I have a Laravel 5.7 project working fine, but I changed the host and i got this error:

Laravel 403 Forbidden Error

I updated the .htaccess file with this code:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^$ public/ [L]
    RewriteRule (.*) public/$1 [L]
</IfModule>

but I still get the error.

查看全部
duan0065626385
duan0065626385
2018/10/07 21:40
  • laravel
  • php
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

2个回复