.htaccess RewriteEngine issue

software development

#1

I’m using an .htaccess file with RewriteEngine to change a url with a querystring into a subdomain like this:

www.mysite.com?username=joeblow

to

joeblow.mysite.com

It works great except…

when i browse to the page using the subdomain none of my css, javascript or embedded flash works.

I’m guessing that something is getting messed up with the paths.

Can anyone offer any insight?

Thanks


#2

Never mind

I changed the links to my css, javascript and flash files to absolute links and everything works.