Brian Donahue on 4 Feb 2008 15:17:34 -0800


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

Re: [PhillyOnRails] Mongrel/Ubuntu Newb Question


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:
http://lists.phillyonrails.org/mailman/listinfo/talk