]>
Commit | Line | Data |
---|---|---|
776029bb MT |
1 | Listen 1010 |
2 | ||
3 | <VirtualHost *:1010> | |
4 | ScriptAlias /icinga/cgi-bin /usr/share/icinga/cgi-bin | |
5 | Alias /icinga /usr/share/icinga/ | |
6 | ||
7 | RewriteEngine on | |
8 | RewriteRule ^/$ /icinga/ [R] | |
9 | ||
10 | <Directory /usr/share/icinga/cgi-bin> | |
11 | Options ExecCGI | |
12 | AllowOverride None | |
13 | ||
14 | AuthName "Icinga Access" | |
15 | AuthType Basic | |
16 | AuthUserFile /etc/icinga/htpasswd.users | |
17 | ||
18 | Order allow,deny | |
19 | Allow from all | |
20 | ||
21 | Require valid-user | |
22 | </Directory> | |
23 | ||
24 | <Directory /usr/share/icinga/> | |
25 | Options None | |
26 | AllowOverride All | |
27 | ||
28 | AuthName "Icinga Access" | |
29 | AuthType Basic | |
30 | AuthUserFile /etc/icinga/htpasswd.users | |
31 | ||
32 | Order allow,deny | |
33 | Allow from all | |
34 | ||
35 | Require valid-user | |
36 | </Directory> | |
37 | </VirtualHost> |