Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nconf
> nconf-http.conf
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nconf-http.conf of Package nconf (Revision 3)
Currently displaying revision
3
,
show latest
# # example apache config for PNP4nagios # <IfDefine NCONF> Alias /nconf /srv/www/nconf <Directory /srv/www/nconf> Options None order allow,deny allow from all # AuthType Basic # AuthUserFile /etc/nagios/htpasswd.users # AuthName "NCONF Enterprise Nagios configurator" php_admin_flag safe_mode Off php_admin_flag short_open_tag On php_admin_flag magic_quotes_gpc Off php_admin_flag register_globals Off </Directory> # do not allow web-based access to the following directories <Directory /srv/www/nconf/ADD-ONS> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/INSTALL> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/UPDATE> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/bin> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/config> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/output> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/static_cfg> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/temp> Order allow,deny Deny from all </Directory> # This SSL configuration is ignored if # "SSL" is not defined, or if "NOSSL" is defined. <IfDefine SSL> <IfDefine !NOSSL> <IfModule mod_ssl.c> SSLEngine on SSLOptions +StdEnvVars Alias /nconf /srv/www/nconf <Directory /srv/www/nconf> Options None order allow,deny allow from all # AuthType Basic # AuthUserFile /etc/nagios/htpasswd.users # AuthName "NCONF Enterprise Nagios configurator" php_admin_flag safe_mode On php_admin_flag short_open_tag On php_admin_flag magic_quotes_gpc Off php_admin_flag register_globals Off </Directory> # do not allow web-based access to the following directories <Directory /srv/www/nconf/ADD-ONS> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/INSTALL> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/UPDATE> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/bin> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/config> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/output> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/static_cfg> Order allow,deny Deny from all </Directory> <Directory /srv/www/nconf/temp> Order allow,deny Deny from all </Directory> </IfModule> </IfDefine> </IfDefine> </IfDefine>