title: Redirect subdomain to a specific file instead of a folder
body: <p>suppose i have a file like this on my site:</p>
  
  <pre><code>example.com/pages/live_report.php
  </code></pre>
  
  <p>and now i want when a user typed url <strong>live.example.com</strong>, it refer to above file without i to be force rename it. </p>
  
  <p>how can i do that via htaccess ?</p>
  
  <p>of course i try this rule that is recommended on <a href="http://www.scriptygoddess.com/archives/2007/06/13/redirect-a-subdomain-to-a-directory-using-htaccess/" rel="nofollow">Redirect a subdomain to a directory using .htaccess</a> :</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^live\.example\.com
  RewriteRule ^(.*)$ /pages/live_report.php$1 [L]
  </code></pre>
  
  <p>but this do not work</p>