I am new to laravel and trying to host applications on a shared hosting environment. I tried so many techniques like move public folder to the public html and change path on the index file.. etc and now I am testing it with a symlink but still getting http 500 error and log files don't show any errors. below os my htaccess file code. Now whole project folder outside the public html folder and public html folder have symlink to the public folder of the app.
<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>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php56 .php .php5 .phtml # php -- END cPanel-generated handler, do not edit
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire