'i have uploaded laravel project but it showing Index of /home in the browser. how can i fix it?

enter image description here

project showing error after run it on browser. it shows index of/home. how to fix it?



Solution 1:[1]

Can you tell us if you are under Apache or Nginx please ?

In both case, you have to tell to your server to point to /public directory.

If you are under Apache, probably you have to configure it a little.

This website gives some instructions on how to do this.

This shows you how to configure your apache website conf file to point to the right directory and how to activate it by restarting Apache.

Of course, to do this, you have to have access rights on your server.

Tell me if it helped you.

Have a nice day.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 HappyToDev