# Mongrels apache configuration problem

**URL:** <https://www.ruby-forum.com/t/mongrels-apache-configuration-problem/140491>\
**Category:** Rails\
**Created:** [June 14, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/mongrels-apache-configuration-problem/140491 "2008-06-14T23:26:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bellani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/96bed5/32.png) [@bellani](https://www.ruby-forum.com/u/bellani)\
**Post date:** [June 14, 2008, 11:26pm UTC](https://www.ruby-forum.com/t/mongrels-apache-configuration-problem/140491/1 "2008-06-14T23:26:10Z")

</div>

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](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

\<Proxy balancer://plx\_cluster\>  
Order allow,deny  
Allow from all  
BalancerMember [http://127.0.0.1:9003](http://127.0.0.1:9003)  
BalancerMember [http://127.0.0.1:9004](http://127.0.0.1:9004)  
BalancerMember [http://127.0.0.1:9005](http://127.0.0.1:9005)

\<Location /plx\>  
RewriteEngine On  
RewriteCond %{DOCUMENT\_ROOT}/%{REQUEST\_FILENAME} !-f  
RewriteRule ^(.\*)$ balancer://plx\_cluster{%REQUEST\_URI} [P,QSA,L]

I know that mongrel and redmine is working, because wget  
[http://localhost:9003](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](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

---

<div class="post-metadata">

**Author:** ![bellani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/96bed5/32.png) [@bellani](https://www.ruby-forum.com/u/bellani)\
**Post date:** [June 15, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/mongrels-apache-configuration-problem/140491/2 "2008-06-15T22:56:11Z")

</div>

Forget it, I figured it out. I hugely appreciate my help!
