我在 laravel10 上遇到错误,它给出错误 403 请建议我该怎么做?

问题描述 投票:0回答:0

我在 Laravel 10 中做了一个项目,它在 xammp 上完美运行,但是当我将其上传到 Hostiger 上时,它给出了错误 403 禁止。托管商的支持小组无法解决我的问题,请帮助我

我已经检查了所有目录并用代码制作了 .htaccess 文件

目录索引index.php

RewriteEngine On 
RewriteRule ^$ public/index.php [L]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC]   
laravel error-handling hosting http-status-code-403 laravel-10
© www.soinside.com 2019 - 2024. All rights reserved.