Apache rewriting rule to access non-rails static page

I am running my rails app at :

http://www.mydomain.tld
which is used for all my
http://www.mydomain.tld///…

I have the following rewriting rules for Apache2 :

DocumentRoot /var/rails/mydomain/current/public
RewriteEngine On

Rewrite index to check for static

RewriteRule ^/$ /index.html [QSA]

Rewrite to check for Rails cached page

RewriteRule ^([^.]+)$ $1.html [QSA]

Redirect all non-static requests to cluster

RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mydomain_cluster%{REQUEST_URI} [P,QS$

but I need to access my web statistics(written by a cron job with
awstats) from a static page
which is located at : /var/www/vhosts/mydomain/statistics/webstat

I don’t pick up yet what I should modify Apache2 config OR my rails
app routes .

thanks for your help & happy new year

kad

You could use the alias module for this purpose.
Have a look at the Apache documentation:
http://httpd.apache.org/docs/2.0/mod/mod_alias.html
(or if you are using Apache 1.3
http://httpd.apache.org/docs/1.3/mod/mod_alias.html)

On Jan 6, 6:31 pm, Kad K. [email protected]