The server's operating system is Debian 8.6 (jessie)...
The index.php and the .htaccess file are located in /var/www/html and the Laravel project is located at /var/www
From index.php, I can require the autloload.php and app.php file and I can browse the homepage ('/').
but, when I am trying to browse in login ('/login') page, this error is showing
The requested URL /login was not found on this server.
The .htaccess file in the html folder is this -
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
What can be the problem here?
I have set up the login route in web.php file..
.htaccess
seems fine. if your still having issue over my answer, yeah follow @Sk1ppeR suggestion. – iMarkDesigns