Blame pnp4nagios-httpd24.patch
|
Jan ONDREJ (SAL) |
0e47f08 |
diff -urN pnp4nagios-0.6.21/sample-config/httpd.conf.in pnp4nagios-0.6.21.httpd24/sample-config/httpd.conf.in
|
|
Jan ONDREJ (SAL) |
0e47f08 |
--- pnp4nagios-0.6.21/sample-config/httpd.conf.in 2013-03-24 17:25:56.000000000 +0100
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+++ pnp4nagios-0.6.21.httpd24/sample-config/httpd.conf.in 2013-07-03 09:32:06.852570024 +0200
|
|
Jan ONDREJ (SAL) |
0e47f08 |
@@ -4,8 +4,19 @@
|
|
Jan ONDREJ (SAL) |
0e47f08 |
|
|
Jan ONDREJ (SAL) |
0e47f08 |
<Directory "@datarootdir@">
|
|
Jan ONDREJ (SAL) |
0e47f08 |
AllowOverride None
|
|
Jan ONDREJ (SAL) |
0e47f08 |
- Order allow,deny
|
|
Jan ONDREJ (SAL) |
0e47f08 |
- Allow from all
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ <IfModule mod_authz_core.c>
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ # Apache 2.4
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ <RequireAll>
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ Require all granted
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ Require valid-user
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ </RequireAll>
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ </IfModule>
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ <IfModule !mod_authz_core.c>
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ # Apache 2.2
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ Order allow,deny
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ Allow from all
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ Require valid-user
|
|
Jan ONDREJ (SAL) |
0e47f08 |
+ </IfModule>
|
|
Jan ONDREJ (SAL) |
0e47f08 |
#
|
|
Jan ONDREJ (SAL) |
0e47f08 |
# Use the same value as defined in nagios.conf
|
|
Jan ONDREJ (SAL) |
0e47f08 |
#
|