Fix apache logging options to only one of two choices

This commit is contained in:
SteveGilvarry 2015-05-24 23:50:04 +10:00 committed by SteveGilvarry
parent a206d46248
commit bc47d01971
1 changed files with 4 additions and 3 deletions

View File

@ -14,17 +14,18 @@
AllowOverride All
</Directory>
ScriptAlias /cgi-bin/ "@CGI_PREFIX@"
ScriptAlias /cgi-bin "@CGI_PREFIX@"
<Directory "@CGI_PREFIX@">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require All Granted
</Directory>
# Use the first option to have Apache logs written to the general log
# directory, or the second to have them written to the regular Apache
# directory (you may have to change the path to that used on your system)
ErrorLog @ZM_LOGDIR@/apache-error.log
ErrorLog /var/log/httpd/zm-error.log
#ErrorLog /var/log/httpd/zm-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
@ -34,6 +35,6 @@
# directory, or the second to have them written to the regular Apache
# directory (you may have to change the path to that used on your system)
CustomLog @ZM_LOGDIR@/apache-access.log combined
CustomLog /var/log/httpd/zm-access.log combined
#CustomLog /var/log/httpd/zm-access.log combined
</VirtualHost>