Clean URLs for images
Posted
by Albert
on Stack Overflow
See other posts from Stack Overflow
or by Albert
Published on 2010-06-08T23:05:27Z
Indexed on
2010/06/08
23:12 UTC
Read the original article
Hit count: 362
I'm unable to get a working .htaccess that should accept clean URLs to load images. I mean, for example, if a user type this:
http://mysite.com/image/example
It works perfectly, as my PHP process and parse it. However, if the user type:
.../image/example.jpg
It doesn't work. I mean, if a user writes that, I want to load the module with the example.jpg as a parameter, I don't want to load the image at all!
Thanks in advance.
© Stack Overflow or respective owner