suppose i have a file like this on my site:

```
example.com/pages/live_report.php

```

and now i want when a user typed url **live.example.com**, it refer to above file without i to be force rename it. 

how can i do that via htaccess ?

of course i try this rule that is recommended on [Redirect a subdomain to a directory using .htaccess](http://www.scriptygoddess.com/archives/2007/06/13/redirect-a-subdomain-to-a-directory-using-htaccess/) :

```
RewriteEngine On
RewriteCond %{HTTP_HOST} ^live\.example\.com
RewriteRule ^(.*)$ /pages/live_report.php$1 [L]

```

but this do not work