Page 1 of 1

Web interface access

Posted: Mon Dec 12, 2011 7:14 am
by olliecampbell
Hello,

First post and a 'can it be done' question! I'm running 3.3.1 on Fedora which currently requires a username and password to access the web interface.

What I'd like to do is allow read only access to the web interface without entering a username or password on the default internal URL (http://nagios). Then using another URL (e.g. http://nagios/admin), get Apache to prompt for a username/password to allow for editable access.

I've got the readonly user account working and have tried playing about with the Apache config but can't seem to get it right! Should I be able to do it?

Thanks in advance.

Ollie

Re: Web interface access

Posted: Mon Dec 12, 2011 5:51 pm
by jsmurphy
This is more of a "I think it can be done this way" as I've never actually tried to do this for anything:

Create 2 alias's one for nagios/admin another for nagios/user and do the normal authentication stuff for the admin login. For the user login I believe there is User and Group config options in apache to explicitly specify the login User and Group, just set that.

http://httpd.apache.org/docs/2.0/mod/mp ... .html#user