404 Error -> Image Substitution

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I have a 404 error handler that can redirect when a url is mistyped  or when
a page has moved.
I would like to have the same control for images.  For example:
  photo/1234-Kitchen.jpg       is now located at:

If the image is referenced by the wrong url the familar image icon with the
'X' in it appears.
I can trap the error in my 404 handler and figure out the correct location
of the image,
but I have been unable to send the correct image to the calling browser.

Thanks in advance for any help.

Rick Kerbel

Re: 404 Error -> Image Substitution

Quoted text here. Click to load it

It's called "Apache rewrite". Just  Google it,

Site Timeline