I have created application in Laravel 4. It's giving URL problems. For example:
if I used http://example.com/login
, it's displaying a 404 error.
But if I used http://example.com/index.php/login
, it's displaying without any error.
I want to use URL without index.php
in that because by adding index.php
in URL, CSS and JS files are not including in the page.