zoneminder/misc/apache.conf.in

40 lines
1.3 KiB
ApacheConf

#
# PLEASE NOTE THAT THIS FILE IS INTENDED FOR GUIDANCE ONLY AND MAY NOT BE APPROPRIATE FOR YOUR DISTRIBUTION
#
# Sample Apache config file to use ZoneMinder in a virtual hosting
# environment.
#
<VirtualHost *:80>
ServerName zm.local
ServerAdmin webmaster@localhost
DocumentRoot @WEB_PREFIX@
<Directory @WEB_PREFIX@>
Options FollowSymLinks
AllowOverride All
</Directory>
ScriptAlias /cgi-bin/ "@CGI_PREFIX@"
<Directory @CGI_PREFIX@>
Options FollowSymLinks
AllowOverride All
</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
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
# 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)
CustomLog @ZM_LOGDIR@/apache-access.log combined
CustomLog /var/log/httpd/zm-access.log combined
</VirtualHost>