Reputation: 1037
Hello I installed Laravel on my VPS server, I created a vhost like the following :
<VirtualHost *:80>
ServerName mysite.uplink.com
DocumentRoot var/www/httpdocs/uplink/public
<Directory var/www/httpdocs/uplink/public>
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
</Directory>
</VirtualHost>
When I go to mysite.uplink.com it shows : Error in exception handler what I'm doing wrong please? Also I dont know if I should put 80 as the port or an other one.
Thanks
Upvotes: 0
Views: 1097
Reputation: 8205
You need to give 755 permissions to the storage folder and all of the directories within it.
chmod -R 755 /path/to/app/storage
Hope this helps!
Upvotes: 4
Reputation: 13771
The error has nothing to do with the setting up of your vhost. Your storage folder has not been provided the right permissions.
chmod -R 777 /path/to/app/storage
Try running this command so that you provide appropriate permissions to the storage folder.
Question posted on Laravel.io with a similar problem
Try the permission section in the Laravel documentation about installation here
Upvotes: 0