I have a shared hosting and I'm trying to make my laravel project works on it, I'm using voyager to the admin panel.
I put my app public folder inside the /public_html and the rest of the project on the same level of the /public_html, so it looks like this:
.bash_history
.bash_logout
.bash_profile
.bashrc
.cache
.cpanel
.htpasswds
logs
mail
app -> my project
public_ftp
public_html -> where my app public folder is
.ssh
tmp
etc
...
I have managed to work almost everything, but the admin panel is not working properly.
When I access www.example.com/admin it goes to www.example.com/admin/login, I put my credentials and submit the form, after it returns to the same page, then I checked the network tab on Chrome and it appears the following message:
Request URL: http://example.com/admin/login
Request Method: GET
Status Code: 403 Forbidden
Anybody knows how to fix it?
Thanks.
public_html
including thepublic
folder. Then you can write some.htaccess
rule to point to your domain rootpublic folder.
– user3574492