Re: [users@httpd] How to sign up using Apache

2022-07-03 Thread Simon Harrison
On Sun, 3 Jul 2022 20:26:45 +0600 Ahmad Ismail wrote: > Who writes to dbm password files? I mean how are new users registered? > > If apache authenticates using `mod_auth_basic` or `mod_auth_digest` > then someone must put the users with their credentials there. > > Best regards, > Ahmmad

[users@httpd] Program or script to create sites in /var/www/

2022-06-24 Thread Simon Harrison
Hello. For a project I'm working on, I'll making a number of sites under: /var/www/webdav/ It appears that mod_macro should handle the configuration side of things, but I'm wondering how other users handle creating the DocumentRoot? Preferably over SSH. Thanks, Simon

Re: [users@httpd] Calling htdbm from another server

2022-01-12 Thread Simon Harrison
On Wed, 12 Jan 2022 10:27:35 +0100 "Gillis J. de Nijs" wrote: > I'd probably consider using SQL/LDAP or a shared filesystem for this. > Would that work? Alternatively, you could rsync between the servers, > depending on how fast you want the updates to happen. I've been looking into this some

[users@httpd] Calling htdbm from another server

2022-01-11 Thread Simon Harrison
Good evening. Does anyone know a standard / recommended way of calling htdbm between servers? To be clearer: 1. A user is deleted on server 1 2. Access needs to be revoked on server 2 for that user I'd like to be able to run # htdbm -x /usr/local/apache2/var/users.db someuser and # htdbm -bt

Re: [users@httpd] AuthDBMGroupFile -- htdbm usage?

2021-12-24 Thread Simon Harrison
I've decided to answer my own question in case it helps others in the future. As it turns out, the solution was to pass a string with comma separated values with the -t option: root@server:/usr/local/apache2/var# htdbm -t users.dbm username "group1,group2" Could this be added to the docs

Re: [users@httpd] AuthDBMGroupFile -- htdbm usage?

2021-12-24 Thread Simon Harrison
On Fri, 24 Dec 2021 10:59:36 + Simon Harrison wrote: > Hello. Following the advice here: > > https://httpd.apache.org/docs/2.4/mod/mod_authz_dbm.html#authdbmgroupfile > > I'm wanting use dbm for managing users and groups (in the same file). > The thing is, I can't find o

[users@httpd] AuthDBMGroupFile -- htdbm usage?

2021-12-24 Thread Simon Harrison
Hello. Following the advice here: https://httpd.apache.org/docs/2.4/mod/mod_authz_dbm.html#authdbmgroupfile I'm wanting use dbm for managing users and groups (in the same file). The thing is, I can't find out the recommended way to manage groups. Apparently there was a program called dbmmanage