vi /etc/apache2/conf.d/domains/eond.com.conf


<VirtualHost 121.124.124.13:8080>


    ServerName eond.com

    ServerAlias www.eond.com

    ServerAdmin info@eond.com

    DocumentRoot /home/eond/web/eond.com/public_html

    ScriptAlias /cgi-bin/ /home/eond/web/eond.com/cgi-bin/

    Alias /vstats/ /home/eond/web/eond.com/stats/

    Alias /error/ /home/eond/web/eond.com/document_errors/

    #SuexecUserGroup eond eond

    CustomLog /var/log/apache2/domains/eond.com.bytes bytes

    CustomLog /var/log/apache2/domains/eond.com.log combined

    ErrorLog /var/log/apache2/domains/eond.com.error.log


    IncludeOptional /home/eond/conf/web/eond.com/apache2.forcessl.conf*


    <Directory /home/eond/web/eond.com/stats>

        AllowOverride All

    </Directory>

    <Directory /home/eond/web/eond.com/public_html>

        AllowOverride All

        Options +Includes -Indexes +ExecCGI

    </Directory>


    <FilesMatch \.php$>

        SetHandler "proxy:unix:/run/php/php8.4-fpm-eond.com.sock|fcgi://localhost"

    </FilesMatch>

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0


    IncludeOptional /home/eond/conf/web/eond.com/apache2.conf_*

    IncludeOptional /etc/apache2/conf.d/*.inc

</VirtualHost>


2.

tail -f /var/log/apache2/domains/eond.com.error.log

tail -n 50 /var/log/apache2/domains/eond.com.error.log