3 DocumentRoot "%%document_root%%"
4 AssignUserId #%%UID%% #%%GID%%
5 SetEnv LOGIN "%%UID%%-%%LOGIN%%"
7 <Directory "%%document_root%%">
8 php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
9 php_admin_value upload_tmp_dir %%account_root%%/tmp
10 php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
11 php_admin_flag mail.add_x_header on
12 Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
13 AllowOverride AuthConfig FileInfo Limit Options Indexes
16 # If you want to log the errors also in /var/log/alternc/sites/
17 # WARNING: this WILL FORK a vlogger for EACH VHOST havingg this !!! the load on the machine may be high
18 # on hosting with many vhosts. as a consequence, this is disabled by default
19 # ErrorLog "|| /usr/sbin/vlogger -e -u alterncpanel -g alterncpanel -s error.log -t \"error-%Y%m%d.log\" /var/log/alternc/sites/%%UID%%-%%LOGIN%%/"