I want to set up two web servers that share a majority of their files from a common directory. There would be an assortment of .php and .hmtl files that would be different for either server. Is there a way to have Apache load the files for each server selectively? Example: /common_files: a.php, b.php, c.php, index.html, main.css /websiteA: Has a different version of a.php /websiteB: Has a different version of b.php and index.html All other files are shared between websiteA and websiteB
It might be possible to do this with Alias directives in Apache. http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias