Set the document root for your application correctly so that your server serves the app's public folder
Jun 28, 2023
4
Level 50
Subfolder name is getting concatenated in server
Hi
I have laravel 9 project and uploaded to shared hosting. After uploading when I call the url automatically the url is getting concatinated.
For example
i'm calling
xxxxx_.com/app/public/
it is coming like this
xxxxx_.com/app/public/app/public
Thanks
Level 122
@shariff you run a big risk of exposing your secret credentials, and also will get problems like this
better to use a subdomain or second host account
1 like
Please or to participate in this conversation.