Forum Moderators: phranque

Message Too Old, No Replies

Multiple user Password Area Redirection

         

sante

6:47 pm on Apr 18, 2006 (gmt 0)

10+ Year Member



Hi, I have protected an area of my website (/protected) with a password and added a few users to access this site.
My question is, how can I set it up this way that say 10 users who are part of group1 get redirected to a certain location within that protected folder and another 10 ppl part of group2 get redirected to another file withing the same "/protected" folder?
Any feedback gladly appreciated!
Regards,
Jason

jdMorgan

9:55 pm on Apr 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For user-level control, see the %{REMOTE_USER} variable, accessible in mod_rewrite using the RewriteCond directive. For group-level control, you will probably have to use a script.

Jim