# Apache 403 Forbidden

**URL:** <https://www.ruby-forum.com/t/apache-403-forbidden/87572>\
**Category:** Deployment\
**Created:** [March 4, 2007, 2:07am UTC](https://www.ruby-forum.com/t/apache-403-forbidden/87572 "2007-03-04T02:07:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@Shak](https://www.ruby-forum.com/u/Shak)\
**Post date:** [March 4, 2007, 2:07am UTC](https://www.ruby-forum.com/t/apache-403-forbidden/87572/1 "2007-03-04T02:07:14Z")

</div>

Hello everyone,

I can’t seem to figure out why apache is continually giving me a 403  
forbidden page whilst trying to access my rails application. The  
mongrel clusters are working fine as I can access them through the web  
if I comment out the address line in my mongrel config file.

Here is my httpd conf:

\<VirtualHost \*:80\>  
ServerName [alpha.domain.com](http://alpha.domain.com)  
DocumentRoot /home/domain/current/public/

\<Directory “/home/domain/current/public/”\>  
AllowOverride All  
Options +FollowSymLinks

ProxyPass / balancer://mongrel\_cluster/  
ProxyPassReverse / balancer://mongrel\_cluster/

RewriteEngine On

# Rewrite index to check for static

RewriteRule ^/$ /index.html [QSA]

# Rewrite to check for Rails cached page

RewriteRule ^([^.]+)$ $1.html [QSA]

# Redirect all non-static requests to cluster

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

ErrorLog /home/domain/current/log/errors.log  
CustomLog /home/domain/current/log/log.log combined

RewriteLogLevel 9  
RewriteLog /home/domain/current/log/rewrite.log

While looking at the rewrite log, I see the following:  
[http://pastie.caboo.se/44521](http://pastie.caboo.se/44521)

The error log says:  
[Sat Mar 03 19:00:01 2007] [warn] proxy: No protocol handler was valid  
for the URL /. If you are using a DSO version of mod\_proxy, make sure  
the proxy submodules are included in the configuration using LoadMo  
dule.  
[Sat Mar 03 19:00:01 2007] [warn] proxy: No protocol handler was valid  
for the URL /403.shtml. If you are using a DSO version of mod\_proxy,  
make sure the proxy submodules are included in the configuration usi  
ng LoadModule.

I am loading proxy\_module and mod\_proxy\_balancer through my conf file  
for apache. I am suspecting mod\_proxy\_http to be causing this as it  
isn’t specifically loaded, but upon speaking to my host, they informed  
me that proxy\_module loads already mod\_proxy\_http.

Thanks!
