Integrating with Apache

Bryce Fischer
2005-07-17T23:01:08Z

Ok, I''ve visited several sites on integrating Ruby on Rails with
Apache, but I must be missing something important. This probably isn''t
the best list to send this to, as I don''t believe its a Rails problem,
but I was hoping someone could point out what I''m missing.

In my virtual host declaration, I have the following (site specific
stuff removed):

<VirtualHost xx.xxx.xxx.xx:80>
  ServerName xxxx.com
  ServerAlias xxxx.com
  DocumentRoot /home/xxxx/public_html
  ErrorLog /home/xxx/logs/error_log
  ScriptAlias /cgi-bin/ /home/xxxx/cgi-bin/
  <Directory /home/xxxx/public_html>
    Options Indexes ExecCGI FollowSymLinks
    RewriteEngine On
    AllowOverride all
    Allow from all
    Order allow,deny
  </Directory>
</VirtualHost>

I have the following symlink:
ln -s /home/xxxx/public_html/runner/demoapp /home/me/work/demo/public

I have set the owner of all folders to the apache user.

When I attempt to go to http://www.xxxx.com/runner/demoapp I get the
following error:

"Forbidden
You don''t have permission to access /runner/demoapp on this
server."

I put a test html file in that folder, and get the same error, which
is why I think its something  wrong with my apache configuration...
(moving the test html file out of the symlinked folder, into the
/runner folder, it works).

Any ideas?

Thanks