Hi I'm facing a new problem in laravel application. the application is not working when we reach the url
http://moodlereport.kgm.in/login // not working
If we put index.php in the url its working fine
http://moodlereport.kgm.in/index.php/login
The server path is var/www/html/foldername
mod_rewrite is enabled in the server
here is my .htaccess file content located in root dictionary
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ / [L,R=301]
# Handle Front Controller...
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
<Files .env>
Order allow,deny
Deny from all
</Files>
<Files .zip>
Order allow,deny
Deny from all
</Files>
Under public folder there is no .htaccess file.
Please help me to resolve this, Thanks in advance.