From: bouracho <wk-...@pe...> - 2006-08-23 09:40:09
|
Re: Restrict Access > Hi all, > > Is there a way to give users "view only" access to the PerfParse cgi? I mean without giving them access to the Admin menu for example. > > Greetings, > HSukirman Hi I use apache conf to restrict access, extract of my conf : RewriteEngine On RewriteLogLevel 2 RewriteLog /var/log/httpd/rewrite_log RewriteCond %{QUERY_STRING} admin_menu=1 RewriteCond %{LA-U:REMOTE_USER} !myuser RewriteRule /nagios/cgi-bin/perfparse.cgi http://%{SERVER_NAME}/nagios/cgi-bin/perfparse.cgi? [L] myuser is used to log on nagios and able to log on admin menu of perfparse. |