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
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 I get a 403 “You don’t have permission
to access / on this server.”
What’s wrong?