Kernel_Killer
July 13th, 2005, 11:42
I have a Apache userdir setup, and each user logs into their dir with www.site.com/~user1 with an .htaccess file. What I'm wanting to do is have the user login at www.site.com and be redirected to their directory. So far I've found some JavaScript code for an embedded login for the index.html, but nothing about redirection by user. Does anyone know of anything I can do to make this work?

bmw
July 13th, 2005, 15:10
Quick answer: mod_rewrite is your friend!

Kernel_Killer
July 13th, 2005, 17:10
Awesome! Thanx bmw!