Advertisement
Guest User

Untitled

a guest
May 25th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
  2. # Last Modified: 11-26-2005
  3. #
  4. # This file contains examples of entries that need
  5. # to be incorporated into your Apache web server
  6. # configuration file. Customize the paths, etc. as
  7. # needed to fit your system.
  8.  
  9. ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi-bin/"
  10.  
  11. <Directory "/usr/lib64/nagios/cgi-bin/">
  12. # SSLRequireSSL
  13. Options ExecCGI
  14. AllowOverride None
  15. Order allow,deny
  16. Allow from all
  17. # Order deny,allow
  18. # Deny from all
  19. # Allow from 127.0.0.1
  20. AuthName "Nagios Access"
  21. AuthType Basic
  22. AuthUserFile /etc/nagios/passwd
  23. Require valid-user
  24. </Directory>
  25.  
  26. Alias /nagios "/usr/share/nagios/html"
  27.  
  28. <Directory "/usr/share/nagios/html">
  29. # SSLRequireSSL
  30. Options None
  31. AllowOverride None
  32. Order allow,deny
  33. Allow from all
  34. # Order deny,allow
  35. # Deny from all
  36. # Allow from 127.0.0.1
  37. AuthName "Nagios Access"
  38. AuthType Basic
  39. AuthUserFile /etc/nagios/passwd
  40. Require valid-user
  41. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement