# Auto generated apache config file by DirectAdmin version 1.56.0
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to their website
# For global config changes that affect all Users, see this guide:
# http://help.directadmin.com/item.php?id=2
# For local config changes that only affect one User, see this guide:
# http://help.directadmin.com/item.php?id=3
<Directory "/home/customer/public_html">
        <IfModule mod_ruid2.c>
                RMode config
                RUidGid customer customer
                #RGroups apache access
                RGroups @none
        </IfModule>
        <IfModule mod_fcgid.c>
                SuexecUserGroup customer customer
        </IfModule>
                php_admin_flag engine ON
                php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
                php_admin_value mail.log /home/customer/.php/php-mail.log
                php_admin_value open_basedir /home/customer/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php72/lib/php/
</Directory>
<VirtualHost 46.4.xxx.xxx:80 >
        ServerName www.somedomain.nl
        ServerAlias www.somedomain.nl somedomain.nl
        ServerAdmin [email protected]
        DocumentRoot /home/customer/domains/somedomain.nl/public_html
        UseCanonicalName OFF
        <IfModule !mod_ruid2.c>
                SuexecUserGroup customer customer
        </IfModule>
        <IfModule mod_ruid2.c>
                RMode config
                RUidGid customer customer
                #RGroups apache access
                RGroups @none
        </IfModule>
        CustomLog /var/log/httpd/domains/somedomain.nl.bytes bytes
        CustomLog /var/log/httpd/domains/somedomain.nl.log combined
        ErrorLog /var/log/httpd/domains/somedomain.nl.error.log
        <Directory /home/customer/domains/somedomain.nl/public_html> 
                AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
                Options -ExecCGI -Includes +IncludesNOEXEC
                php_admin_flag engine ON
                php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
                php_admin_value mail.log /home/customer/.php/php-mail.log
                php_admin_value open_basedir /home/customer/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php72/lib/php/
        </Directory>
</VirtualHost>
<VirtualHost 46.4.xxx.xxx:443 >
        SSLEngine on
        SSLCertificateFile /usr/local/directadmin/data/users/customer/domains/somedomain.nl.cert.combined
        SSLCertificateKeyFile /usr/local/directadmin/data/users/customer/domains/somedomain.nl.key
        SSLCACertificateFile /usr/local/directadmin/data/users/customer/domains/somedomain.nl.cacert
        ServerName www.somedomain.nl
        ServerAlias www.somedomain.nl somedomain.nl
        ServerAdmin [email protected]
        DocumentRoot /home/customer/domains/somedomain.nl/private_html
        UseCanonicalName OFF
        <IfModule !mod_ruid2.c>
                SuexecUserGroup customer customer
        </IfModule>
        <IfModule mod_ruid2.c>
                RMode config
                RUidGid customer customer
                #RGroups apache access
                RGroups @none
        </IfModule>
        CustomLog /var/log/httpd/domains/somedomain.nl.bytes bytes
        CustomLog /var/log/httpd/domains/somedomain.nl.log combined
        ErrorLog /var/log/httpd/domains/somedomain.nl.error.log
        <Directory /home/customer/domains/somedomain.nl/private_html>
                AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
                Options -ExecCGI -Includes +IncludesNOEXEC
                php_admin_flag engine ON
                php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
                php_admin_value mail.log /home/customer/.php/php-mail.log
                php_admin_value open_basedir /home/customer/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php72/lib/php/
        </Directory>
</VirtualHost>