# Rails + Apache2 problem

**URL:** <https://www.ruby-forum.com/t/rails-apache2-problem/120331>\
**Category:** Rails\
**Created:** [November 15, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/rails-apache2-problem/120331 "2007-11-15T21:38:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [November 15, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/rails-apache2-problem/120331/1 "2007-11-15T21:38:51Z")

</div>

Hello,

I’m quite a noob, after days of work and suffer I managed to deploy my  
rails app to my server with capistrano 2.

I don’t use mongrel or lighttpd, webrick is strong enough for my small  
projects ;]

my app is in /home/paul/rails/Test/current/

so I created this apache2 virtual host in my httpd.conf:

\<VirtualHost \*:80\>  
ServerName [test.mydomain.com](http://test.mydomain.com)  
DocumentRoot /home/paul/rails/Test/current/public/  
ErrorLog /home/paul/rails/Test/shared/log/server.log

\<Directory /home/paul/rails/Test/current/public/\>  
Options ExecCGI FollowSymLinks  
AddHandler cgi-script .cgi  
AllowOverride all  
Order allow, deny  
Allow from alll

my script/spin file looks like this:  
/home/paul/rails/Test/current/script/process/spawner fcgi -p 80 -i 3 -  
r 5

When I access [test.mydomain.com](http://test.mydomain.com) I get a 403 “You don’t have permission  
to access / on this server.”

What’s wrong?
