# Auto generated apache config file by DirectAdmin version 1.40.3
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to his/her 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
# Frontpage requires these parameters in every httpd.conf file or else
# it won't work.
ServerRoot /etc/httpd
<VirtualHost *.*.*.*:80 >
ServerName www.testwebserver.com
ServerAlias www.testwebserver.com testwebserver.com
ServerAdmin [email protected]
DocumentRoot /home/test/domains/testwebserver.com/public_html
ScriptAlias /cgi-bin/ /home/test/domains/testwebserver.com/public_html/cgi-bin/
UseCanonicalName OFF
#SuexecUserGroup test test
RMode config
RUidGid test test
RGroups apache
#RDocumentChRoot /home/test /home/test/domains/testwebserver.com/public_html
CustomLog /var/log/httpd/domains/testwebserver.com.bytes bytes
CustomLog /var/log/httpd/domains/testwebserver.com.log combined
ErrorLog /var/log/httpd/domains/testwebserver.com.error.log
<Directory /home/test/domains/testwebserver.com/public_html>
Options +Includes -Indexes
php_admin_value upload_tmp_dir "/home/test/tmp"
php_admin_value suhosin.executor.func.blacklist "system, shell_exec, exec, passthru, php_uname, popen, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid,posix_setgid, posix_uname, proc_close, proc_nice, proc_open, proc_terminate"
php_admin_value session.save_path "/home/test/tmp"
php_admin_value soap.wsdl_cache_dir "/home/test/tmp"
php_admin_value eaccelerator.cache_dir "/home/test/tmp/eaccelerator"
php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value open_basedir /home/test/:/tmp:/var/tmp:/usr/local/lib/php/
</Directory>
<Location /phpMyAdmin>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /phpmyadmin>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /squirrelmail>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /roundcube>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /uebimiau>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /webmail>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /atmail>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
</VirtualHost>
<VirtualHost *.*.*.*:443 >
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
ServerName www.testwebserver.com
ServerAlias www.testwebserver.com testwebserver.com
ServerAdmin [email protected]
DocumentRoot /home/test/domains/testwebserver.com/private_html
ScriptAlias /cgi-bin/ /home/test/domains/testwebserver.com/public_html/cgi-bin/
UseCanonicalName OFF
#SuexecUserGroup test test
RMode config
#RDocumentChRoot /home/test /home/test/domains/testwebserver.com/private_html
RUidGid test test
RGroups apache
CustomLog /var/log/httpd/domains/testwebserver.com.bytes bytes
CustomLog /var/log/httpd/domains/testwebserver.com.log combined
ErrorLog /var/log/httpd/domains/testwebserver.com.error.log
<Directory /home/test/domains/testwebserver.com/private_html>
Options +Includes -Indexes
php_admin_value upload_tmp_dir "/home/test/tmp"
php_admin_value suhosin.executor.func.blacklist "system, shell_exec, exec, passthru, php_uname, popen, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid,posix_setgid, posix_uname, proc_close, proc_nice, proc_open, proc_terminate"
php_admin_value session.save_path "/home/test/tmp"
php_admin_value soap.wsdl_cache_dir "/home/test/tmp"
php_admin_value eaccelerator.cache_dir "/home/test/tmp/eaccelerator"
php_admin_flag engine ON
<IfModule !mod_php6.c>
php_admin_flag safe_mode OFF
</IfModule>
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value open_basedir /home/test/:/tmp:/var/tmp:/usr/local/lib/php/
</Directory>
<Location /phpMyAdmin>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /phpmyadmin>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /squirrelmail>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /roundcube>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /uebimiau>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /webmail>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
<Location /atmail>
RMode config
RUidGid webapps webapps
RGroups apache
</Location>
</VirtualHost>