[thelist] Apache - alternative paths

Anthony Baratta anthony at baratta.com
Thu Dec 14 11:02:09 CST 2006


Setup your Error Doc parameter for file not found, either in that directory or server wide to run a PHP page that will serve the default file for you. It's possible that maybe the image itself can be your error document.

http://httpd.apache.org/docs/2.0/custom-error.html

-----Original message-----
From: Mark Howells webdev at mountain.ch
Date: Thu, 14 Dec 2006 08:55:06 -0800
To: Evolt List thelist at lists.evolt.org
Subject: [thelist] Apache - alternative paths

> Hi all
> 
> Is it possible to configure Apache so that it looks for a file in a  
> certain location and, when it doesn't find it, source it from a  
> default folder?
> 
> e.g.
> 
> http://test.com/myfile.gif
> 
> Search in /root/images/myfile.gif (not found)
> Serve file /root2/images/myfile.gif
> 
> ???
> 
> Many thanks
> Mark Howells
> www.permanenttourist.ch
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 



More information about the thelist mailing list