View Full Version : .htaccess and redirect combination???

09-29-2003, 02: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, 02:22 AM
Try a conditional statement...

09-29-2003, 02: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.


09-30-2003, 05:22 AM
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.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum