File: apache2.conf

package info (click to toggle)
icinga 1.14.2+ds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 49,264 kB
  • sloc: ansic: 108,564; sql: 9,656; sh: 4,945; perl: 3,439; makefile: 1,213; php: 581; xml: 104
file content (27 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# apache configuration for icinga

ScriptAlias /cgi-bin/icinga /usr/lib/cgi-bin/icinga

# Where the stylesheets (config files) reside
Alias /icinga/stylesheets /etc/icinga/stylesheets

# Where the HTML pages live
Alias /icinga /usr/share/icinga/htdocs

<DirectoryMatch "^(?:/usr/share/icinga/htdocs|/usr/lib/cgi-bin/icinga|/etc/icinga/stylesheets)/">
	Options FollowSymLinks

	DirectoryIndex index.html

	AllowOverride AuthConfig
	Require all granted

	AuthName "Icinga Access"
	AuthType Basic
	AuthUserFile /etc/icinga/htpasswd.users
	Require valid-user
</DirectoryMatch>

<Directory "/usr/share/javascript/">
    Options FollowSymLinks MultiViews
</Directory>