# Auto generated apache config file by DirectAdmin version 1.51.3
# 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/myuser/public_html">
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
<IfModule mod_fcgid.c>
SuexecUserGroup mydomain mydomain
</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/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
<VirtualHost 141.138.140.244:80 >
ServerName www.mydomain.com
ServerAlias www.mydomain.com mydomain.com
ServerAdmin [email protected]
DocumentRoot /home/myuser/domains/mydomain.com/public_html
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/mydomain.com.bytes bytes
CustomLog /var/log/httpd/domains/mydomain.com.log combined
ErrorLog /var/log/httpd/domains/mydomain.com.error.log
<Directory /home/myuser/domains/mydomain.com/public_html>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
Options -ExecCGI
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 141.138.140.244:443 >
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
ServerName www.mydomain.com
ServerAlias www.mydomain.com mydomain.com
ServerAdmin [email protected]
DocumentRoot /home/myuser/domains/mydomain.com/private_html
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/mydomain.com.bytes bytes
CustomLog /var/log/httpd/domains/mydomain.com.log combined
ErrorLog /var/log/httpd/domains/mydomain.com.error.log
<Directory /home/myuser/domains/mydomain.com/private_html>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
Options -ExecCGI
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 141.138.140.244:80 >
ServerName www.admin.mydomain.com
ServerAlias www.admin.mydomain.com admin.mydomain.com
ServerAdmin [email protected]
DocumentRoot /home/myuser/domains/mydomain.com/public_html/admin
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/mydomain.com.admin.bytes bytes
CustomLog /var/log/httpd/domains/mydomain.com.admin.log combined
ErrorLog /var/log/httpd/domains/mydomain.com.admin.error.log
<Directory /home/myuser/domains/mydomain.com/public_html>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
Options -ExecCGI
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 141.138.140.244:443 >
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
ServerName www.admin.mydomain.com
ServerAlias www.admin.mydomain.com admin.mydomain.com
ServerAdmin [email protected]
DocumentRoot /home/myuser/domains/mydomain.com/private_html/admin
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/mydomain.com.admin.bytes bytes
CustomLog /var/log/httpd/domains/mydomain.com.admin.log combined
ErrorLog /var/log/httpd/domains/mydomain.com.admin.error.log
<Directory /home/myuser/domains/mydomain.com/private_html>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
Options -ExecCGI
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 141.138.140.244:80 >
ServerAlias *.mydomain.com
ServerName www.rooster.mydomain.com
ServerAlias www.rooster.mydomain.com rooster.mydomain.com
ServerAdmin [email protected]
DocumentRoot /home/myuser/domains/mydomain.com/public_html/rooster/public/rooster
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/mydomain.com.rooster.bytes bytes
CustomLog /var/log/httpd/domains/mydomain.com.rooster.log combined
ErrorLog /var/log/httpd/domains/mydomain.com.rooster.error.log
<Directory /home/myuser/domains/mydomain.com/public_html/rooster/public>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
Options -ExecCGI
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>
<VirtualHost 141.138.140.244:443 >
ServerAlias *.mydomain.com
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
ServerName www.rooster.mydomain.com
ServerAlias www.rooster.mydomain.com rooster.mydomain.com
ServerAdmin [email protected]
DocumentRoot /home/myuser/domains/mydomain.com/public_html/rooster/public/rooster
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup mydomain mydomain
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid mydomain mydomain
#RGroups apache access
RGroups @none
</IfModule>
CustomLog /var/log/httpd/domains/mydomain.com.rooster.bytes bytes
CustomLog /var/log/httpd/domains/mydomain.com.rooster.log combined
ErrorLog /var/log/httpd/domains/mydomain.com.rooster.error.log
<Directory /home/myuser/domains/mydomain.com/public_html/rooster/public>
AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
Options -ExecCGI
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myuser/.php/php-mail.log
php_admin_value open_basedir /home/myuser/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/
</Directory>
</VirtualHost>