Suppose I have someone (or Google Images) trying to access
http://null.com/uploads/someimage.jpg
(actually any image in /uploads folder)
I'd want htaccess to redirect the user to
http://null.com/page/
HOWEVER, I need to pass the original url (http://null.com/uploads/someimage.jpg
) to the redirection target page as a POST string value which the target php page can use to do stuff with it
Would it be possible to achieve that with htaccess?
UPDATE - and also, it would be interesting to have this working only when the user agent is a human operated browser, not a bot such as google bot, in this way Google and other search engines can crawl images appropriately without the redirection