I am currently interpreting sub-domain wild-cards with php and i would like to handle them with .htaccess, user profiles will be accessed at http://username.mysite.com/ (or for some people http://www.username.mysite.com/) which should use /main.php?action=profile
The hardest part of this is making /error/i+am+a+test+message or /files/iamatestfile.jpg go to &error=i+am+a+test+message or &files=iamatestfile.jpg
Thanks for any and all help!