...

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.

:-)

Feyd
09-30-2003, 06: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