Restrict user only to enable/disable checks

Jelle Smet nagios at smetj.net
Thu Mar 11 22:27:47 CET 2010


> RewriteEngine on
> RewriteCond %{QUERY_STRING} ^(cmd_type=16|cmd_type=4|cmd_type=6) [OR] 
> RewriteRule ^(.*)$ /not_allowed.html [R,L] 

Excellent yes that does the trick.
Who want to use this solution keep in mind it's cmd_typ without the e

Cheers,

Jelle



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list