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.
|