# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file. Customize the paths, etc. as
# needed to fit your system.
ScriptAlias @cgiurl@ "@sbindir@"
# SSLRequireSSL
Options ExecCGI
AllowOverride None
= 2.3>
Require all granted
# Require host 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile @sysconfdir@/htpasswd.users
Require valid-user
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile @sysconfdir@/htpasswd.users
Require valid-user
Alias @htmurl@ "@datadir@"
# SSLRequireSSL
Options None
AllowOverride None
= 2.3>
Require all granted
# Require host 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile @sysconfdir@/htpasswd.users
Require valid-user
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile @sysconfdir@/htpasswd.users
Require valid-user