How to create a virtual directory in Apache
October 1st, 2010 at 4:45 pm No CommentsSuppose you’re working on your local machine. You’re running Apache/PHP or an all-on-one package like XAMPP. You have a bunch of websites, but you don’t want to store them all under Apache’s webroot. Maybe some of your websites use PHP and you want to test them locally in your browser.
Here’s how to map a directory so you can access it via Apache without it being in the webroot.
Read the rest of this entry »
























