projects
/
sysconfig
/
nagios3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa38c7
)
New Apache/nagios config for xenial (16.04)
author
Alex Dehnert
<alex@dehnerts.com>
Sun, 5 May 2019 09:21:59 +0000
(
05:21
-0400)
committer
Alex Dehnert
<alex@dehnerts.com>
Sun, 5 May 2019 09:21:59 +0000
(
05:21
-0400)
apache2.conf
patch
|
blob
|
history
diff --git
a/apache2.conf
b/apache2.conf
index 0affebd8cf2cb95cffa8a48171f6f30f35e2c842..f0f8b2f3c1b224d20025a85ddd762295f5ba53b2 100644
(file)
--- a/
apache2.conf
+++ b/
apache2.conf
@@
-33,8
+33,16
@@
Alias /nagios3 /usr/share/nagios3/htdocs
DirectoryIndex index.php index.html
AllowOverride AuthConfig
- Order Allow,Deny
- Allow From All
+
+
+ <IfVersion < 2.3>
+ Order Allow,Deny
+ Allow From All
+ </IfVersion>
+
+ <IfVersion >= 2.3>
+ Require all denied
+ </IfVersion>
AuthName "Nagios Access"
AuthType Basic