Hi all. I’m at my wits end… I’m trying to set up a Rails app (on a
Ubuntu system), within the public_html directory in my home directory
(as opposed to the /var/www/ directory). ie. in
I have a simple app setup, and using the Webrick server it works fine.
But trying to get Apache to work is becoming a pain in the &^.
I followed the directions on this page:
But when I try going to the URL of a controller I get:
“You don’t have permission to access /~john/myapp/public/dispatch.cgi on
I’m guessing it has to do with not having CGI access in the directory,
but I don’t know how to get it set up. I haven’t touched the default
apache2.conf file (I’m not sure what to add), and adding the line:
Options +FollowSymLinks +ExecCGI
to the .htaccess file gives an error (‘Options’ is not allowed in the
Does anyone have any hints or tips on what I need to change? I’m sure
it’s something in the apache2.conf file (or maybe a file in the
Thanks a bunch - this seems like a whole lot of hassle to go through
just to get a simple site up and running!