Justin Reagor on 4 Feb 2008 15:37:20 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Mongrel/Ubuntu Newb Question

  • From: Justin Reagor <justinwr@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] Mongrel/Ubuntu Newb Question
  • Date: Mon, 4 Feb 2008 18:37:01 -0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; bh=Lf4zUA8Hg7RaOaj/jvZb3kZcyw4FwAbOxK07OYj359o=; b=IqZtd4wZFmc0Jw+kFKCBdohNrJjKG11ObHVhalkr9NBgsJD3xtEVHixtHWCxZVikHPM5RRbPsPk3egl8OkcgX+ruZSBmwczyjiis7b6/N4dMj28wSobiC+wxmzTRQZc23PHt1ikwFEFEfU9aCdmlG9ny4VYBp7Ni1nDetptIG/s=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

Are you certain you have the Apache mod_proxy or proxy balancer loaded? Try loading them then running /etc/init.d/apache2 configtest... if thats the problem.

On Feb 4, 2008, at 6:17 PM, Brian Donahue wrote:

I thought I was on the right path, but I tried to restart apache after some of the prescibed setup steps and got:
Syntax error on line 56 of /etc/apache2/sites-enabled/000-default:
Invalid command '<Proxy', perhaps misspelled or defined by a module not included in the server configuration

I went into /etc/apache2/mods-enabled and, feeling clever, I added a symlink to ../mods-available/proxy.conf and ../mods-available/proxy.load

No change  I don't feel very clever anymore.  Any thoughts?

The <Proxy> piece comes from this Virtual Host configuration specifid on the Redmine setup page (although maybe I've got it in the wrong place (000-defaul)?

<VirtualHost *>
  ServerName redmine.yourdomain
  DocumentRoot /var/www/redmine/public
  <Directory "/var/www/redmine/public">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
  </Directory>
  <Proxy balancer://redmine_cluster>
    Order allow,deny
    Allow from all
    BalancerMember http://127.0.0.1:8000
    BalancerMember http://127.0.0.1:8001
    BalancerMember http://127.0.0.1:8002
  </Proxy>
  RewriteEngine On
  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
  RewriteRule ^/(.*)$ balancer://redmine_cluster%{REQUEST_URI} [P,QSA,L]
</VirtualHost>






On Feb 4, 2008 1:20 PM, Brian Donahue <brian@pigeonmoon.com> wrote:
On Feb 4, 2008 12:43 PM, Eric Snyder <snyderep@gmail.com> wrote:
Maybe you created the pids dir under /tmp and not under RAILS_ROOT/tmp?

Ha!  This was it.  I guess I should have noticed the absence of the opening slash in the error message.

Thanks much!  Still interested in hearing Redmine/other issue tracker feedback.  Trac will probably be my second choice, but it sure is nice to have one that looks half-decent out of the box.  :)

_______________________________________________
To unsubscribe or change your settings, visit:

_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk