vendredi 6 juillet 2018

Laravel 5 resource was not found after changing public folder name and location

I followed this thread to change public folder to 'public_html'. Pages and routes runs well but Every image,css,js,resource on page from public folder cannot be loaded.

404 (Not Found) in console

For example, i tried to load 127.0.0.1:8000/index.php file in public and this shows up..

The requested resource /index.php was not found on this server.

The file is exist but it can't be loaded..How to fix this? If i revert the public folder back, everything became normal again.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire