[PLUG] Redirect after Apache authentication

Matt Alexander m at pdxlug.org
Wed Apr 9 15:17:01 UTC 2003


Is there a way to redirect a user to a specific location based on who they
authenticate as?

For example, Bob goes to mysite.com and is prompted with a typical
htaccess login box.  He logs in as graphics/password and is taken to
mysite.com/graphics.  But if he logs in using accounting/password, he's
taken to mysite.com/accounting.  If someone goes directly to one of the
URLs, then it would also prompt them for a login, of course.

Thanks,
~Matt






More information about the PLUG mailing list