How to create Apache Virtual host?

view story

http://serverfault.com – Im using Windows 7, and there I installed apache server in c:\wamp\apache\, PHP is located in c:\wamp\php\, and loaded as module. So lets say I'm building test project and I only have index.php in that project. Folder of that project will be located in c:\wamp\apache\htdocs\test\index.php and I can access that through my browser: localhost\test This all works nice, but I have problem when I include images, css and js files. lets say I want to include css style, i must use this: <link rel="stylesheet" href="/test/images/image.jpg" /> and I would like to use this for a href: <link (HowTos)