43 lines
932 B
Plaintext
43 lines
932 B
Plaintext
|
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
|
||
|
# Last Modified: 11-26-2005
|
||
|
#
|
||
|
# 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@"
|
||
|
|
||
|
<Directory "@sbindir@">
|
||
|
# SSLRequireSSL
|
||
|
Options ExecCGI
|
||
|
AllowOverride None
|
||
|
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
|
||
|
</Directory>
|
||
|
|
||
|
Alias @htmurl@ "@datadir@"
|
||
|
|
||
|
<Directory "@datadir@">
|
||
|
# SSLRequireSSL
|
||
|
Options None
|
||
|
AllowOverride None
|
||
|
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
|
||
|
</Directory>
|
||
|
|