We are developing web shops that are based on a lot of images.
On our local test system we do not have those images for performance reasons.
No when I open a webpage, logs and firebug are cluttered by a lot of 404 errors.
How can I configure Apache to just deliver a dummy image for cases where the image does not exist?
You can define a error document (more in the manual):
From your
error404.phpyou can usegetenv(“REQUEST_URI”)to get the name of the requested page. If it’s a image you push out your dummy image. Otherwise you show your normal error page.