shared .htpasswd access across multiple servers?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

shared .htpasswd access across multiple servers?

Jason Pitt
We have some robotics hardware that each has a built in webserver that uses standard .htaccess and .htpasswd files to control access.  We'd like to have a single .htpasswd file shared across multiple machines/servers...is there a way to configure the htaccess file to a shared remote .htpasswd file?

-thanks
J
--
/*
Jason Pitt PhD                                   206.616.1193
Kaeberlein Lab                                   [hidden email]
University of Washington
Department of Pathology
Health Sciences Building                    Box 357470
1989 NE Pacific Street
Seattle, WA 98195
*/
Reply | Threaded
Open this post in threaded view
|

Re: shared .htpasswd access across multiple servers?

Antony Stone
On Friday 24 July 2020 at 23:08:02, Jason Pitt wrote:

> We'd like to have a single .htpasswd file shared across multiple
> machines/servers...is there a way to configure the htaccess file to a shared
> remote .htpasswd file?

Apache doesn't install these files - it only reads them.

How about rsync?


Antony.

--
Just when you think you're done, a cat floats by with buttered toast strapped
to its back.

 - Steve Krug, "Don't make me think"

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: shared .htpasswd access across multiple servers?

Antony Stone
On Saturday 25 July 2020 at 00:07:23, Antony Stone wrote:

> On Friday 24 July 2020 at 23:08:02, Jason Pitt wrote:
> > We'd like to have a single .htpasswd file shared across multiple
> > machines/servers...is there a way to configure the htaccess file to a
> > shared remote .htpasswd file?
>
> Apache doesn't install these files - it only reads them.
>
> How about rsync?

Or NFS?

> Antony.

--
This is not a rehearsal.
This is Real Life.

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: shared .htpasswd access across multiple servers?

Brent Clark-4
In reply to this post by Jason Pitt
You can get htaccess to query a SQL, LDAP backend.

Else you will need to look at some type of deployment tool like puppet,
ansible.

HTH

Regards
Brent


On 2020/07/24 23:08, Jason Pitt wrote:

> We have some robotics hardware that each has a built in webserver that
> uses standard .htaccess and .htpasswd files to control access.  We'd
> like to have a single .htpasswd file shared across multiple
> machines/servers...is there a way to configure the htaccess file to a
> shared remote .htpasswd file?
>
> -thanks
> J
> --
> /*
> Jason Pitt PhD                                   206.616.1193
> Kaeberlein Lab [hidden email] <mailto:[hidden email]>
> University of Washington
> Department of Pathology
> Health Sciences Building                    Box 357470
> 1989 NE Pacific Street
> Seattle, WA 98195
> */

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]