dimanche 22 novembre 2015

Laravel 5.1 projec deployement permissions error

I am trying to deploy my laravel project. I have installed apache, mysql, php, composer and laravel and pulled my project into /home/spark and ran composer install. Now when I surf to my ip I only see the apache test page.

When I take a peak in my log files I see these 2 errors:

[Sun Nov 22 17:37:54.598627 2015] [core:error] [pid 16141] (13)Permission denied: [client 78.20.130.157:50142] AH00035: access to /index.html denied (filesystem path '/home/spark/public/index.html') because search permissions are missing on a component of the path
[Sun Nov 22 17:37:54.598708 2015] [core:error] [pid 16141] (13)Permission denied: [client 78.20.130.157:50142] AH00035: access to /index.php denied (filesystem path '/home/spark/public/index.php') because search permissions are missing on a component of the path

I have no idea how to fix the permessions. Anyone can help me out? Thanks in advance!

Here's my spark.conf file for my virtualhost maybe it's not good either:

<Directory "/home/spark/public">
    Require all granted
</Directory>

<VirtualHost *:80>
    ServerName myurl
    DocumentRoot "/home/spark/public"
    ErrorLog "/var/log/httpd/spark-error"
    CustomLog "/var/log/httpd/spark-customlog" Common
</VirtualHost>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire