Using Alias in Apache ONLY if local directory not present? Using Alias in Apache ONLY if local directory not present? apache apache

Using Alias in Apache ONLY if local directory not present?


A primitive, although probably quite effective solution might be to forget about the Alias directive and to simply rely on a symlink. A little shell script that creates those symlinks for you will simply fail if there is already something present that is called 'concrete'.