K
K
Karina2015-11-24 23:34:50
Apache HTTP Server
Karina, 2015-11-24 23:34:50

How to set up Apache for rails?

I did everything according to the instructions for deploying Passenger. The DocumentRoot and Directory were said to be set to the public directory of the rails application. As a result, I consistently see 500.html. The logs say: Directory index forbidden by Options directive
I also tried it on the root of the application - also an error.

Order allow,deny
Allow from all

is also there.
What can you think of?
Thanks to all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2015-11-25
@iKapex

You need to allow Indexes.
Something like that

<Directory "/var/www/html">
    Options Indexes FollowSymLinks MultiViews
</directory>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question