Help! I am trying to configure apache to use the mongrel cluster, but I
know I''m doing something tragically wrong, and am at my wits''
end. My
project is called "plx"; if I use the apache config shown below, then
try http://redmine/plx, I get "You don''t have permission to access
/plx/
on this server."
<VirtualHost *>
ServerAlias redmine
ServerName redmine.mydomain
DocumentRoot /home/redmine/
Alias /plx /home/redmine/plx/public
<Directory "/home/redmine/plx/public">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Proxy balancer://plx_cluster>
Order allow,deny
Allow from all
BalancerMember http://127.0.0.1:9003
BalancerMember http://127.0.0.1:9004
BalancerMember http://127.0.0.1:9005
</Proxy>
<Location /plx>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ balancer://plx_cluster{%REQUEST_URI} [P,QSA,L]
</Location>
</VirtualHost>
I know that mongrel and redmine is working, because wget
http://localhost:9003 on the server returns the Redmine start page. And
it''s not that Apache doesn''t have access to the
/home/redmine/plx/public
directory, since when I remove the location and alias business and set
my DocumentRoot to /home/redmine/plx/public, http://redmine gives the
the Redmine start page as well.
Any help would be hugely, really really hugely appreciated.
Thanks in advance for any help!
-Ed
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---