View Full Version : .htaccess and redirect combination???
yerodin
09-29-2003, 03:06 AM
Is it possible to use my .htaccess username and password login, to point individual users to different folders, based on their login information???
SDP2006
09-29-2003, 03:22 AM
Try a conditional statement...
yerodin
09-29-2003, 03:50 AM
Thanks for responding,
could you point me to a url that has an example.
I have done .htaccess and .htpassword successfully, but I have not done much .php programming.
At the risk of sounding like a pirate, I would love to copy, paste and edit an existing script to get this done.
:-)
You would need to use the HTTP_AUTHORIZATION sever/HTTP header variable that becomes present AFTER somebody logs in through your htaccess, then run your redirection off of that.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.