View Full Version : .htaccess and redirect combination???
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???
09-29-2003, 03:22 AM
Try a conditional statement...
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.