PDA

View Full Version : Web server group access control via htaccess



sprale
01 Jun 2009, 10:14 AM
I have a Web server with a few directories. Each directory's access is separated using it's own .htaccess and .htpasswd. What I need to do is create a directory that allows all users from multiple directories to gain access.

Each directory has over 100 users currently, so I'd love to not have to recreate users if possible. If I had to, I'll just bit my tongue and do it. I don't mind going back to the drawing board in how I'm controlling access, as long as it is a tried and true method.

server/folder1
server/folder2
server/folder3
server/folder4

Basically, users who have access to folder1, folder2 and folder3 exclusively need access to folder 4.