Monday, April 10, 2017

Laravel routes permission on ubuntu server

I've just now installed laravel on my Amazon ubuntu server. While browsing it I'm able to view the home page something like this:

http://35.164.49.91/stellar/public/

But when I place the routes for example Analyst login page

http://35.164.49.91/stellar/public/analysts/login

I'm getting error

This page isn’t working

35.164.49.91 is currently unable to handle this request.

HTTP ERROR 500

Before this error I was getting permission denied error. So I've gone to my apache2 conf file and made it to the following:

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

<Directory /usr/share>
    AllowOverride None
    Require all granted
</Directory>

<Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

I've currently having chmod 775 as permission to my project folder directory.

Help me out.



via Nitish Kumar

Advertisement