<p>I'm running Apache on Windows XP via Xampplite, and could use help configuring my virtual directory. Here's what I'm hoping to do on my dev box:</p>

<ol>
<li>I want my source files to live outside of the xampp htdocs dir</li>
<li>on my local machine I can access the project at <a href="http://myproject" rel="noreferrer">http://myproject</a></li>
<li>others on my local network can access the project at my.ip.address/myproject</li>
<li>keep localhost pointing to the xampp's htdocs folder so I can easily add other projects.</li>
</ol>

<p>I've got 1 &amp; 2 working by editing the windows hosts file, and adding a virtual directory in xampp's apache\conf\extra\httpd-vhosts.conf file. I don't immediately see how to do 3 without messing up 4.</p>

Figured it out: use
Alias
for #3, instead of VirtualHost, thus:
```
```
Alias /myproject "C:/path/to/my/project"
<Directory "C:/path/to/my/project">
  Options Indexes FollowSymLinks MultiViews ExecCGI
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>
```
```