Reply
.htaccess redirect to certain directory based on username entered.
Old 09-04-2009, 12:13 AM .htaccess redirect to certain directory based on username entered.
Junior Talker

Posts: 1
Trades: 0
Using .htaccess can I redirect user to certain directory based on the username and password they enter? I.E.

1. I have a .htacess password protected directory, www.mydomain.com/protected
2. Based on the username or password they enter can they be redirected to their own personal directory?
3. If username is john.smith they go to www.mydomain.com/protected/1 but if username is jane.smith then they would go to www.mydomain.com/protected/2 and so on....

Can this be done in PHP? Thanks!
- Nick
webdesignkid is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Reply     « Reply to .htaccess redirect to certain directory based on username entered.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 1.19240 seconds with 13 queries