I am running my rails app at :
http://www.mydomain.tld which is used for all my http://www.mydomain.tld/<resources>/<id>/<action>\.\.\.\.
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