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\blogdoes not has any index.php or .htaccess -
C:\xampp\htdocs\lara\blog\appalso, does not has any index.php or .htaccess - Only accessing
http://localhost/lara/blog/publicopens a page with the laravel logo and the words "You have arrived"
I could not able to know what's the problem?