title: run php script on http request without using mod_rewrite and even for robots
body: <p>This is a simple problem but I expect has a very difficult solution.</p>
  
  <p>I want to have a page run some PHP code on http request, without using mod_rewrite and without using javascript.</p>
  
  <p>ex.
  <a href="http://website.com/some_audio.mp3" rel="nofollow">http://website.com/some_audio.mp3</a>
  when user or robot requests this link, a php script is called to process and then deny or allow the request.</p>
  
  <p>I cannot use mod_rewrite for this, I know it sounds crazy just take my word for it. Also cannot use javascript either since robots would bypass this. need some kind of htaccess solution.</p>