[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Password protect certain pages



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<hballinger (at) heritage-healthcare.com> 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!
>