# Apache + mongrel + rails/w capistrano + awstats...how?

**URL:** <https://www.ruby-forum.com/t/apache-mongrel-rails-w-capistrano-awstats-how/92363>\
**Category:** Deployment\
**Created:** [April 18, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/apache-mongrel-rails-w-capistrano-awstats-how/92363 "2007-04-18T18:24:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [April 18, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/apache-mongrel-rails-w-capistrano-awstats-how/92363/1 "2007-04-18T18:24:41Z")

</div>

hi, i’ve installed awstats and it works very well…until i start the  
mongrel cluster.  
when mongrel is running rails works perfectly, but i can’t access  
anymore to the awstats page  
now i’ve rails under /home/app/production/app/current and awstats under  
/var/www/localhost  
What have i to change to have all working? the .htaccess, move awstats,  
or what?  
help ☹

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [May 19, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/apache-mongrel-rails-w-capistrano-awstats-how/92363/2 "2007-05-19T22:14:35Z")

</div>

hi! when I was configuring awstats I found that it’s necessary to  
configure the log format.  
I use Ruby on Rails and I don’t know how is?  
please tell me how is it

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [May 23, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/apache-mongrel-rails-w-capistrano-awstats-how/92363/3 "2007-05-23T17:27:32Z")

</div>

Put it on a different virtual host from the Rails app.

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [May 23, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/apache-mongrel-rails-w-capistrano-awstats-how/92363/4 "2007-05-23T17:28:33Z")

</div>

You run awstats on the apache log not the Rails log.
