Xymon Mailing List Archive search

Password protect certain pages

list Harold J. Ballinger
Mon, 13 Jul 2009 12:53:49 -0400
Message-Id: <833FE11B4A07FD4789F720B6F915124F0786CA3459@HHCGVL-COMM01>

There was a hobbit-apache.conf in /etc/hobbit that looked like the place to start. I added:

--------------Begin Copy/Paste-------------------
Alias /hobbit/Facilities/  "/var/lib/hobbit/www/Facilities/"
<Directory "/var/lib/hobbit/www/Facilities">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all

    AuthUserFile /etc/hobbit/hobbitpasswd
    AuthGroupFile /etc/hobbit/hobbitgroups
    AuthType Basic
    AuthName "Hobbit Administration"

    Require valid-user

</Directory>
-------------End Copy/Paste-------------------

I then restarted the server and... it worked like a charm. Thanks to everyone for all of your help!!! It would have taken me forever without a prod or two in the right direction.

Thanks!

Harold Ballinger
Heritage Healthcare, Inc.


On Fri, Jul 10, 2009 at 11:05 AM, Harold J.
Ballinger<user-fc4f93976dc8@xymon.invalid> wrote:
I have several pages that I would like to password protect in the same way that the enable/disable and acknowledge capabilities are password protected.

1) I have an entire subpage that I would like to protect
2) I would like for all notes to be protected

If it would be possible to login once and it remembers the session (I think the current enable/disable works that way), that would be preferred since I wouldn't want to have to login each time I clicked the links, just once to confirm that I'm an authorized person.

Thanks!