In the course of a task that I'm working on, I came across some cimcumstances that got me thinking and I'm curious about what everyone thinks about this. When using a folder or directory outside the server document root, what are the differences between using Apache's Alias directive vs. a filesystem symbolic link (or shortcut for Windows)? The first thing that comes to mind is that Apache needs to be restarted after changing/adding an Alias directive; a symbolic link does not have this requirement.
The next progression of this idea is: What if both (alias & symbolic link) exist using the same name? Which takes precedence when some contained page is requested from Apache? If the link & the alias point to the same physical location, it doesn't really matter, but what if they point to different physical locations?
The next progression of this idea is: What if both (alias & symbolic link) exist using the same name? Which takes precedence when some contained page is requested from Apache? If the link & the alias point to the same physical location, it doesn't really matter, but what if they point to different physical locations?