Sha256: 387ed0406fe0abec62d95daa5c299894796465c7b5c9b07e9af8a28e90b35f09

Contents?: true

Size: 1.44 KB

Versions: 21

Compression:

Stored size: 1.44 KB

Contents

<VirtualHost *:80>
        ServerName <%= domain %>
        DocumentRoot "/usr/local/nagios/share"
        ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
        Alias /nagios "/usr/local/nagios/share"

        <Directory "/usr/local/nagios/sbin">
        #  SSLRequireSSL
           Options ExecCGI
           AllowOverride None
           Order allow,deny
           Allow from all
        #  Order deny,allow
        #  Deny from all
        #  Allow from 127.0.0.1
           AuthName "Nagios Access"
           AuthType Basic
           AuthUserFile /usr/local/nagios/etc/htpasswd.users
           Require valid-user
        </Directory>

        <Directory "/usr/local/nagios/share">
        #  SSLRequireSSL
           Options None
           AllowOverride None
           Order allow,deny
           Allow from all
        #  Order deny,allow
        #  Deny from all
        #  Allow from 127.0.0.1
           AuthName "Nagios Access"
           AuthType Basic
           AuthUserFile /usr/local/nagios/etc/htpasswd.users
           Require valid-user
        </Directory>

        # Deflate
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

        ErrorLog logs/nagios.sct-error_log
        CustomLog logs/nagios.sct-access_log combined
</VirtualHost>

Version data entries

21 entries across 21 versions & 5 rubygems

Version Path
Empact-deprec-1.99.21 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
andyh-deprec-1.99.26 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
andyh-deprec-1.99.27 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
isaac-deprec-1.99.30 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
isaac-deprec-1.99.32 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.15 lib/deprec/templates/old/apache_vhost.erb
deprec-2.0.11 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.13 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
centostrano-0.1 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
centostrano-0.2 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.10 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.1 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.0 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.6 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.9 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.4 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.3 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.7 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.5 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
deprec-2.0.8 lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb