I am new to Apache mod rewrite. What I would like to achieve is this.
If an image (gif, jpg, png) is requested from an url and is not found there, it should automatically try to deliver this image from another directory.
|
I am new to Apache mod rewrite. What I would like to achieve is this. If an image (gif, jpg, png) is requested from an url and is not found there, it should automatically try to deliver this image from another directory. | ||||
|
feedback
|
|
Try this:
This will act on every image file request that these rules are applied to; to restrict to just a specific "original" directory, then adjust as needed:
And if you're putting this in | |||||
feedback
|