26 lines
901 B
Plaintext
26 lines
901 B
Plaintext
<VirtualHost *:80>
|
|
ServerName %%fqdn%%
|
|
DocumentRoot "%%document_root%%"
|
|
|
|
<Directory "%%document_root%%">
|
|
php_admin_value open_basedir "%%document_root%%:/usr/share/php/:/var/alternc/tmp:/tmp"
|
|
</Directory>
|
|
|
|
AllowOverride AuthConfig FileInfo Limit Options Indexes
|
|
Options Indexes Includes FollowSymLinks MultiViews
|
|
Order allow,deny
|
|
Allow from all
|
|
php_admin_flag safe_mode_gid on
|
|
php_admin_flag safe_mode on
|
|
php_admin_value disable_functions chmod,chown,chgrp,link,symlink
|
|
php_admin_value safe_mode_exec_dir /var/alternc/exec.usr
|
|
php_admin_value disable_functions chgrp,link,symlink
|
|
|
|
php_admin_flag enable_dl off
|
|
php_admin_value upload_tmp_dir /var/alternc/tmp
|
|
php_admin_value sendmail_path /usr/lib/alternc/sendmail
|
|
|
|
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
|
|
CustomLog /var/log/apache2/access.log alternc
|
|
</VirtualHost>
|