Apache on Windows - Image Directory Outside of Root?
Posted on 2007-11-29
Have a test server running Apache 2 on W2K SP4 with around 10,000 images in a web directory. The problem is when I do my daily backup I am also copying these image files, which are static and really need backed up maybe once a month.
So I was wondering, is it possible for the image directory to reside outside of the apache root, or even better, outside the apache directory altogether and still show when I'm viewing the test site locally?
This way I could easily backup the apache folder each day, without backing up the thousands of images.
And if so, how would I do it? I'm assuming it isn't as simple as just calling the full path to each image in my php code.