# Auto generated apache config file by DirectAdmin version 1.46.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
<Directory "/home/admin/public_html">
<IfModule mod_fcgid.c>
SuexecUserGroup admin admin
</IfModule>
<IfModule mod_fcgid.c>
<FilesMatch "\.php$">
SetHandler fcgid-script
FCGIWrapper '/usr/local/safe-bin/fcgid53.sh /usr/local/directadmin/data/users/admin/php/domainabc.com.ini -d open_basedir="/home/admin/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php53/lib/php/" -d mail.log="/home/admin/.php/php-mail.log"' .php
Options +ExecCGI
</FilesMatch>
</IfModule>
</Directory>
<VirtualHost xxx.xxx.xxx.xxx:8080 127.0.0.1:8080 >
ServerName www.domainabc.com
ServerAlias www.domainabc.com domainabc.com
ServerAdmin [email protected]
DocumentRoot /home/admin/domains/domainabc.com/public_html
ScriptAlias /cgi-bin/ /home/admin/domains/domainabc.com/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup admin admin
</IfModule>
CustomLog /var/log/httpd/domains/domainabc.com.bytes bytes
CustomLog /var/log/httpd/domains/domainabc.com.log combined
ErrorLog /var/log/httpd/domains/domainabc.com.error.log
<Directory /home/admin/domains/domainabc.com/public_html>
<IfModule mod_fcgid.c>
FCGIWrapper '/usr/local/safe-bin/fcgid53.sh /usr/local/directadmin/data/users/admin/php/domainabc.com.ini -d sendmail_from="[email protected]" -d open_basedir="/home/admin/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php53/lib/php/" -d mail.log="/home/admin/.php/php-mail.log"' .php
<FilesMatch "\.php$">
SetHandler fcgid-script
Options +ExecCGI
</FilesMatch>
</IfModule>
</Directory>
RewriteEngine on
RewriteOptions inherit
</VirtualHost>