You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Greg Matthews <we...@oceanweb.net> on 2003/02/16 13:01:27 UTC

[users@httpd] two .htpasswd files in one directory

Hello:

I'm running Apache 2.0.43 with the "mod-rewrite" module enabled.

There is a new script on my server that manages an .htpasswd file for all
new subscribers to my service. There is another static password file that
contains a list of existing users with access to the same directories. Due
to the fact that my new script rewrites the .htpasswd file during each
update, I must keep the list of existing users in a separate password file.

Objective:
Apache would protect the directory "/myserver/htdocs/secure/" and find the
list of authorized users contained in both ".htpasswd" (standard plain text)
and ".htpassd2" (standard plain text). I'm thinking that there should be
some way to write an .htaccess file and utilize the mod-rewrite module?

Any suggestions?

Sincerely,
Greg Matthews

(Watch me struggle with this problem today)
http://www.gregmatthews.com









---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org