Hey all, just wondering if anyone out there's pretty good with web development.
I've got three different groups of people that will be coming to my website, and I'll be giving each group their own login. I'd like people to be able to go to the main domain, and based on what login they put in, it redirects to their specific directory. For example:
They go to:
www.mydomain.com
They're prompted for a username and password. They type in:
username: group1
password: password
Their browser then jumps to www.mydomain.com/group1/
If at the main domain they type in username group 2, they're taken to mydomain.com/group2/
Anyone know how I might do that? I can do password production through my dreamhost panel, but I can automatically redirect based on the login.
Would hugely appreciate any help!!
I've got three different groups of people that will be coming to my website, and I'll be giving each group their own login. I'd like people to be able to go to the main domain, and based on what login they put in, it redirects to their specific directory. For example:
They go to:
www.mydomain.com
They're prompted for a username and password. They type in:
username: group1
password: password
Their browser then jumps to www.mydomain.com/group1/
If at the main domain they type in username group 2, they're taken to mydomain.com/group2/
Anyone know how I might do that? I can do password production through my dreamhost panel, but I can automatically redirect based on the login.
Would hugely appreciate any help!!