2
I have a project in Laravel. When I put my files to my hosting server and access the domain, it shows me the files and folders instead of redirecting me to the index.
On my machine I create a virtualhost pointing to the public folder, where .htaccess. But on my hosting server I do not know how to make this redirection.
I use Hostgator hosting and place the files on the server, via FTP. Inside the public_html folder.
Could someone help me?
Good afternoon. I got another way. I put another . htaccess at the root of my project and solved.
– Maurício Biléssimo