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