Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alenguav's avatar

403 error message related to app.js file

We recently uploaded a Laravel site on a CPanel hosting, however when testing the backend we are receiving some erros related to the file app.js as you can see in this picture https://www.dropbox.com/s/pw9yhujd6rl8smi/error-sportlife.PNG?dl=0 Can you suggest me any solution to this issue?

0 likes
2 replies
NickVahalik's avatar

A 403 would indicate that it's having an problem authenticating. You aren't using HTTP only cookies for authentication are you?

Snapey's avatar

You have some strange .htdocs file? I notice that you have public in some of your routes which suggests the site is not hosted correctly and you are potentially doing some workarounds to try and get it to work?

Please or to participate in this conversation.