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

xxmarkxx's avatar

CPanel 403/404 in Laravel 8 + VueJS

I'm having an issue where my staging site is 403 but when I add a .htacces with ReWrite Cond it works. So my problem now is all my assets need to have the "public" or "public_html" to open them but I have an issue where the built files from laravel-mix cause an "undefined token"<"and it messes up the app.

Here's the staging link: staging.dse-math.bestworkz.com If you open some CSS/JS files, it won't open until you add "public" after the domain.

0 likes
1 reply
vybeauregard's avatar

Right now, the console is complaining about mixed content. The page was served over https but the assets are being requested over http.

Please or to participate in this conversation.