vandyczech
4 months ago

Laravel 5.8 permissions

Posted 4 months ago by vandyczech

I have this structure, how chmod and chgrp is right .. for laravel, still I see error 500. Please write me the commands for right permission folder ... thank you ... my head is in the air from that ...


/var                            root / www-data         drwxr-xr-x
/var/www                        www-data / www-data     drwxrwxr-x
/var/www/friede                 pi /www-data            drwxr-xr-x
/var/www/friede/app             pi / www-data           drwxr-xr-x
/var/www/friede/app/public      pi / www-data           drwxr-xr-x

My virtual host

<VirtualHost *:80>

    ServerName 192.168.10.45
    ServerAdmin [email protected]
    DocumentRoot /var/www/friede/public

    <Directory "/var/www/friede/public">

    Options FollowSymLinks
    ReWriteEngine On

    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    <Directory "/var/www/friede/public">

    Options FollowSymLinks MultiViews
    ReWriteEngine On

    </Directory>

</VirtualHost>

Please sign in or create an account to participate in this conversation.