How to see statistics report for rails domain?

How to see statistics report for rails domain?

Posted by: garylin
Posted on: 2005-12-22 20:53:00

Hi,

I setup a ruby on rails app on one of my domain, says abc.com

I noticed that when I try to see the statistics report for abc.com, it will go to abc.com/stats

However, rails will try to parse the route path, and finally failed to redirect to statistics report.

Anyonre has the same experience with me? How do you make it work for rails application?

Thanks.

Gary




Re: How to see statistics report for rails domain?

Posted by: pantulis
Posted on: 2006-01-11 03:20:00

Oh, was just about to post about this too... any ideas?


Re: How to see statistics report for rails domain?

Posted by: garylin
Posted on: 2006-01-11 09:33:00

Hi pantulis,

I finallly came out a work-around solution.
Make a symbolic link to your ROR public directory

# cd [your-ROR-working-directory]/public
# ln -s ~/logs/[domainname]/http/html html

and so that you can point to http://yourdomain/html

Good Luck

Gary


Gary


Tags: statistics reportabcdomainparseredirectrubygarypath