Please help me with Apache2 virtual host configuration

Posted 1 week ago by vandyczech

My Laravel run on http://84.242.117.60:9000/ Apache server is Apache/2.4.25 (Raspbian) How should the right basic configuration file look? Whats wrong in configuration? I see error 500

<VirtualHost *:9000>
    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
</VirtualHost>

<Directory "/var/www/friede/public">
        Options FollowSymLinks MultiViews
        ReWriteEngine On
</Directory>

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

Reply to

Use Markdown with GitHub-flavored code blocks.