File: apache_vhost.conf

package info (click to toggle)
icinga 1.14.2+ds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • 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 (25 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (5)
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
#If you want to run icinga on your own subdomain, you can use this 
#example as a starting point

<VirtualHost *:80>

    ServerName icinga.mydomain.com

    DocumentRoot /usr/share/icinga/htdocs

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

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

    <Directory /usr/share/icinga/htdocs>
        Options     FollowSymLinks
        Order       allow,deny
        Allow       from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/icinga.error.log
    CustomLog ${APACHE_LOG_DIR}/icinga.access.log combined

</VirtualHost>