# This file is for Apache 2.4 and later.
#
# It is generated at configure/build time from xymon-apacheconf.txt.DIST
# with the install paths substituted in. The authoritative copy of this
# Apache configuration is also produced as xymon-apache.conf during
# installation; either file can be used.
# NB: The "Alias" line below must NOT be used if you have
# the Xymon webfiles as the root URL. In that case,
# you should instead set this:
#
# DocumentRoot /mnt/opt/xymon-pr-453/www
Alias /xymon/ "/mnt/opt/xymon-pr-453/www/"
Options Indexes FollowSymLinks Includes MultiViews
Require all granted
ScriptAlias /xymon-cgi/ "/mnt/opt/xymon-pr-453/cgi-bin/"
AllowOverride None
Options ExecCGI Includes
Require all granted
ScriptAlias /xymon-seccgi/ "/mnt/opt/xymon-pr-453/cgi-secure/"
AllowOverride None
Options ExecCGI Includes
# NB: Do NOT add "Require all granted" here. In Apache 2.4 multiple
# Require directives at the same level are combined with an implicit
# , so "Require all granted" would satisfy access on its
# own and bypass the authentication enforced below.
# Password file where users with access to these scripts are kept.
# Create it with:
# htpasswd -c /mnt/opt/xymon-pr-453/etc/xymonpasswd USERNAME
#
# Add more users / change passwords with:
# htpasswd /mnt/opt/xymon-pr-453/etc/xymonpasswd USERNAME
AuthUserFile /mnt/opt/xymon-pr-453/etc/xymonpasswd
AuthType Basic
AuthName "Xymon Administration"
Require valid-user