Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: phranque
I have a JPG banner hosted on my site for hotlinking and would like to replace it with an animated GIF keeping all the links active with the JPG extension.
Is that possible through .htaccess or something?
# internally rewrite .jp(e)g to equivalent .gif
RewriteRule ^(.*)\.jpe?g$ $1.gif [L]
you would normally prefer not to use the ambiguous, greedy and promiscuous '.*' in your regexp, but i didn't see a good way out of this one.