I have deployed my Laravel 5.2 project on Host.
The project works fine on local but gets me 500 Internal Server Error
error when I deployed it on Host because of .htaccess
file!
Here my .htaccess
file :
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
P.S:
Required PHP extensions for Laravel is installed and enabled.
I also granted 775
permission to storage
but nothing changed!
Any helps would be great appreciated.