Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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 /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/"
- <Directory "/usr/lib64/nagios/cgi-bin/">
- # 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 /etc/nagios/passwd
- Require valid-user
- </Directory>
- Alias /nagios "/usr/share/nagios/html"
- <Directory "/usr/share/nagios/html">
- # 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 /etc/nagios/passwd
- Require valid-user
- </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement