[Rails] Re: Forbidden error on rails app with Passenger and Apache
Learn by Doing wrote:
> DocumentRoot /home/vincent/Documents/vincentApp/public
> <Directory />
> Options FollowSymLinks
> AllowOverride None
> </Directory>
> <Directory "/home/vincent/Documents/vincentApp/public/">
> Options FollowSymLinks Indexes
> AllowOverride None
> Order allow,deny
> allow from all
> </Directory>
On the second Directory, you should have:
<Directory /home/vincent/Documents/vincentApp/public//>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
You have quotes surrounding your directory which you can remove. You
should also add Indexes and MultiViews here as well. Just copy and
paste what I placed in there.
> CustomLog /var/log/apache2/access.log combined
>
After this line place:
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Besides not having any expiresheaders etc. placed in, everything else is
fine.
--
Posted via http://www.ruby-forum.com/.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home