Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Shared files between two servers |
|
Author |
|
Adam35413
Joined: 13 Apr 2008 Posts: 3
|
Posted: Fri 15 Aug '08 22:22 Post subject: Shared files between two servers |
|
|
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 |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 25 Aug '08 10:06 Post subject: |
|
|
in that way it is not possible. Of cause you can place all PHP files in a subfolder and include them from Host A and B. But not other files. Or you have to work with mod_rewrite. |
|
Back to top |
|
|
|
|
|
|