remove duplicate icons alias, move non-bureau alternc conf to alternc.conf so that the bureau can be safely disabled by commenting out the bureau include in alternc.conf

This commit is contained in:
Antoine Beaupré 2007-09-27 03:27:44 +00:00
parent 329ac8627c
commit 843f1fb246
2 changed files with 17 additions and 17 deletions

View File

@ -20,7 +20,22 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
CustomLog /var/log/apache/access.log alternc
</VirtualHost>
<Directory /var/alternc>
AllowOverride AuthConfig FileInfo
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
</Directory>
Include /etc/alternc/bureau.conf

View File

@ -1,28 +1,13 @@
alias /admin/sql /usr/share/phpmyadmin
alias /webmail /usr/share/squirrelmail
Alias /icons/ /usr/share/apache/icons/
# ***ALTERNC_ALIASES***
<Directory /var/alternc>
AllowOverride AuthConfig FileInfo
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
</Directory>
<Directory /var/alternc/bureau>
php_admin_flag safe_mode_gid off
php_admin_flag safe_mode off
php_admin_flag register_globals on
</Directory>
<Directory /var/alternc/dns/%%fqdn_lettre%%/%%fqdn%%>
php_admin_flag safe_mode_gid off
php_admin_flag safe_mode off