# 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 and URLs substituted in. The authoritative copy of this
# Apache configuration is also produced as xymon-apache.conf during
# installation; either file can be used.
ScriptAlias /xymon-cgi/ "/u01/xymon/server/cgi-bin/"
AllowOverride None
Options ExecCGI Includes
Require all granted
ScriptAlias /xymon-seccgi/ "/u01/xymon/server/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 /u01/xymon/server/etc/xymonpasswd USERNAME
#
# Add more users / change passwords with:
# htpasswd /u01/xymon/server/etc/xymonpasswd USERNAME
AuthUserFile /u01/xymon/server/etc/xymonpasswd
AuthType Basic
AuthName "Xymon Administration"
Require valid-user
# The web pages come after the CGI directories: Apache uses the first alias
# that matches, and with the web pages at the root URL ("/" to configure)
# this one matches every URL. The build writes a plain Alias for the
# configured URL, which Apache takes literally, with the trailing slashes
# Apache needs at the root.
Alias /xymon "/u01/xymon/server/www"
Options Indexes FollowSymLinks Includes MultiViews
Require all granted