Apache: How to serve a path from a different directory without symlinking?
apache
Solution
Use an Alias.
Alias /special-project/ /web/vhosts/special-project/
Problem
I have a one project being hosted in Apache under a specific subdomain: ``` <VirtualHost *:80> ServerName dev.example.com DocumentRoot /web/vhosts/dev.example.com <Directory /> Allow from all </Directory> </VirtualHost> ``` I want to serve another project under a subdirectory of this domain: ``` dev.example.com/special-project ``` Which lives in `/web/vhosts/special-project`. I also can't simply create a symlink to this directory because of the way the original project is structured. It has to be configured using Apache only. How do I configure Apache to be able to do this? Also, can this type of configuration be specified in a separate file, or does it have to be part of the original `VirtualHost` definition?