Template for apache_logformat.conf

This commit is contained in:
Steven Mondji-Lerider 2013-02-18 17:22:28 +00:00
parent a8877b6c74
commit dd070fd43e
3 changed files with 3 additions and 3 deletions

2
.gitattributes vendored
View File

@ -453,11 +453,11 @@ debian/rules -text
etc/alternc/alternc-sudoers -text etc/alternc/alternc-sudoers -text
etc/alternc/alternc.ini -text etc/alternc/alternc.ini -text
etc/alternc/apache2-ssl.conf -text etc/alternc/apache2-ssl.conf -text
etc/alternc/apache_logformat.conf -text
etc/alternc/dbusers.cnf.sample -text etc/alternc/dbusers.cnf.sample -text
etc/alternc/functions_hosting/hosting_massvhost.sh -text etc/alternc/functions_hosting/hosting_massvhost.sh -text
etc/alternc/phpmyadmin.inc.php -text etc/alternc/phpmyadmin.inc.php -text
etc/alternc/templates/alternc/apache2.conf -text etc/alternc/templates/alternc/apache2.conf -text
etc/alternc/templates/alternc/apache_logformat.conf -text
etc/alternc/templates/alternc/bureau.conf -text etc/alternc/templates/alternc/bureau.conf -text
etc/alternc/templates/apache2/panel.conf -text etc/alternc/templates/apache2/panel.conf -text
etc/alternc/templates/apache2/url.conf -text etc/alternc/templates/apache2/url.conf -text

View File

@ -1,5 +1,5 @@
LogFormat "%{LOGIN}e %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc LogFormat "%{LOGIN}e %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
CustomLog "|| /usr/sbin/vlogger -u alterncpanel -g alterncpanel -s access.log -t \"access-%Y%m%d.log\" /var/alternc/logs" alternc CustomLog "|| /usr/sbin/vlogger -u alterncpanel -g alterncpanel -s access.log -t \"access-%Y%m%d.log\" %%ALTERNC_LOGS%%" alternc
#Uncomment the following line to active Buffered Logs (Default: Off) #Uncomment the following line to active Buffered Logs (Default: Off)
#BufferedLogs On #BufferedLogs On

View File

@ -64,7 +64,7 @@ TEMPLATE_DIR="/etc/alternc/templates"
# Find needed configuration files (without the initial '/') # Find needed configuration files (without the initial '/')
# replace this one unconditionnally # replace this one unconditionnally
CONFIG_FILES="etc/alternc/bureau.conf etc/incron.d/alternc etc/alternc/apache2.conf" CONFIG_FILES="etc/alternc/bureau.conf etc/incron.d/alternc etc/alternc/apache2.conf etc/alternc/apache_logformat.conf"
if [ -e /etc/bind/named.conf ]; then if [ -e /etc/bind/named.conf ]; then
CONFIG_FILES="$CONFIG_FILES etc/bind/templates/zone.template CONFIG_FILES="$CONFIG_FILES etc/bind/templates/zone.template