At the moment I've set up a few virtual hosts. However for each one I have to modify window's hosts file. I was wondering if there was possibly a way to get around. I run xampp off of my flash drive so that I can easily work on websites from both my PC and laptop. Unfortunately I have to edit the windows hosts file on both.
What I would like to do is set up a virtual host so that when I visit localhost/mysite then the mysite directory would be the document root. If I go to localhost/anothersite then the anothersite directory would be the document root.