On Windows 7 cmd I have run composer create-project laravel/laravel blog --prefer-dist
from `C:\xampp\htdocs\lara. Everything is downloaded and installed fine.
However, when I try to access http://localhost/lara/blog
it shows the directory listing of apache. I followed the instruction in the documentation during the installation.
I noticed the following notes:
-
C:\xampp\htdocs\lara\blog
does not has any index.php or .htaccess -
C:\xampp\htdocs\lara\blog\app
also, does not has any index.php or .htaccess - Only accessing
http://localhost/lara/blog/public
opens a page with the laravel logo and the words "You have arrived"
I could not able to know what's the problem?