I'm curious if it's possible to use .htaccess
to serve up a default image when a particular image is requested that doesn't exist (note: only image-requests should raise this behavior). I know I could do this with PHP by serving the images through a script, but I'm more curious if this can be done with .htaccess instead.
Suppose I request /thumbnails/010.gif
, which doesn't exist. How could I get .htaccess to serve up /thumbnails/default.gif
in its place?