I uploaded files of my Laravel project at Plesk server in httpdocs folder and change necessary permission. Now my homepage is working fine but other routes showing 404 server error ( see screenshot [http://ift.tt/2h4Tjze])
For checking few solutions in different forums and at stackoverflow I also tried to make changes in my .htaccess file but yet unable to resolve. Currently I am using following code hor .htaccess file which is working fine on my localhost
<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}]
Let me know if you find any solution for this
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lFq3Rb
via IFTTT
Aucun commentaire:
Enregistrer un commentaire