.htaccess RewriteEngine issue

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




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?


Never mind

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