Forum Moderators: phranque

Message Too Old, No Replies

Redirecting users based on authentication?

And all we have is a tin of beans and .htaccess

         

WibbleWobble

2:53 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



A client has asked that their clients area redirects users based on the ident supplied, but all they have access to is .htaccess - no server-side scripting, nowt; and while I reckon its a long shot, I ought to find out anyway.

Basically they want a link on their page to a clients area that's password protected (easy enough) - when the password is supplied, it will redirect a client to their page, without showing them a list of other pages for other clients.
Is this scheme mad? Should I just tell them they need to get somesort of scripting language option?

Ta.

brummie

8:15 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



I got some .htaccess that could redirect based on the users IP addy if ya want it. Also a referrer redirect .htaccess, but that's about all. Not sure if this would help you. :(

WibbleWobble

8:37 am on Apr 23, 2003 (gmt 0)

10+ Year Member



Its unlikely, I need it to redirect to different pages based on different passwords. In theory, its a grandly simple idea that ought to be accounted for, but its probably not.