title: Redirect all URL calls to a particular php file
body: <p>Any http request (e.g. to pdf) should be redirected to <strong>validate.php</strong> so if you call an URL (e.g. <code>http:...../whatever/whatever/1.pdf</code>), <strong>htaccess</strong> should execute <strong>validate.php</strong> instead.</p>
  
  <p>I went through many examples on web and stackoveflow, no luck yet. Since most work fine for many people, I guess there must be something wrong with my server.</p>
  
  <p>How can I solve this issue?</p>
  
  <p>Thanks</p>
  
  <p><strong>Note:</strong> htaccess and validate.php files are stored in the root.</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/13609413/htaccess-how-to-redirect-all-urls-to-url-php-except-index-php">.htaccess - How to redirect all urls to url.php except index.php</a></li>
  <li><a href="http://www.slashnode.com/php-2/htaccess-redirect-all-requests-to-index-php-script/" rel="nofollow noreferrer">htaccess Redirect All Requests to Index.php Script</a></li>
  <li><a href="https://stackoverflow.com/questions/7060932/how-to-redirect-all-requests-to-a-file-except-images-using-apache">How to redirect all requests to a file, except images using
  Apache?</a></li>
  <li><a href="http://jrgns.net/redirect_request_to_index/" rel="nofollow noreferrer">Redirect All Requests To Index.php Using .htaccess</a></li>
  </ul>
  
  <p>And many more.</p>