View Single Post
Old 10-17-2002, 09:43 AM  
richard
Confirmed User
 
Join Date: Feb 2001
Location: UK
Posts: 543
Validus, yes there is a simple way to do that :-)

RewriteEngine on

RewriteCond %{REMOTE_USER} ^Paul$
RewriteRule .* /path/to/index.html

RewriteCond %{REMOTE_USER} ^Jim$
RewriteRule .* http://www.yahoo.com


You can also use the user in the path to redirect to, for eg if you wanted to send Paul to: site.com/members/Paul/

RewriteCond %{REMOTE_USER} ^Paul$
RewriteRule .* /path/to/members/%{REMOTE_USER}/

hope that helps!

Richard.
richard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote