AlternC/etc/alternc/templates/apache2/vhost.conf

23 lines
976 B
Plaintext
Raw Normal View History

<VirtualHost *:80>
ServerName %%fqdn%%
DocumentRoot "%%document_root%%"
2012-08-21 18:25:56 +00:00
AssignUserId #%%UID%% #%%GID%%
SetEnv LOGIN "%%UID%%-%%LOGIN%%"
<Directory "%%document_root%%">
2012-08-23 08:15:32 +00:00
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
2013-02-28 12:56:24 +00:00
php_admin_value upload_tmp_dir %%account_root%%/tmp
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
php_admin_flag mail.add_x_header on
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
AllowOverride AuthConfig FileInfo Limit Options Indexes
</Directory>
# If you want to log the errors also in /var/log/alternc/sites/
# WARNING: this WILL FORK a vlogger for EACH VHOST havingg this !!! the load on the machine may be high
# on hosting with many vhosts. as a consequence, this is disabled by default
# ErrorLog "|| /usr/sbin/vlogger -e -u alterncpanel -g alterncpanel -s error.log -t \"error-%Y%m%d.log\" /var/log/alternc/sites/%%UID%%-%%LOGIN%%/"
</VirtualHost>
2012-08-21 18:25:56 +00:00