I installed Laravel on my server running on Debian 9.6 with Apache.
I run command composer create-project laravel/laravel api 5.5.* in folder one of my site etc. name.com. I want to access it through URL: https://name.com/api/public - but I'm getting error on fresh new installation said 'Sorry, the page you are looking for could not be found.'.
Also I tried to run it with php artisan serve --host=0.0.0.0 but it show same page.
In logs I found [Tue Dec 18 16:15:30.818500 2018] [autoindex:error] [pid 2334] [client 81.2.249.13:36972] AH01276: Cannot serve directory /var/www/name/www/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
I've tried a lot of things, that I found here or on google, but nothing helped me.
Thanks for any advice.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire