0
votes

I am trying to set up a rails app(redmine) on Ubuntu 14.10 running apache2.

log

Cannot server Directory: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

host.confg

<VirtualHost *:80>
  ServerAdmin [email protected]
  ServerName app.in
  ServerAlias app.in
  DocumentRoot /var/www/app.in/public_html/
  ErrorLog /var/www/app.in/log/error.log
  CustomLog /var/www/tribeapp.in/access.log combined
  <Directory  /var/www/app.in/public_html/redmine/public>
    Options Indexes FollowSymLinks MultiViews
        Require all granted
    RailsBaseURI /redmine
    PassengerResolveSymlinksInDocumentRoot on
    Order allow,deny
    allow from all
    AllowOverride all
  </Directory>
</VirtualHost>

New to rails. Let me know if you need more info.

1
Server configuration issues are more on-topic on http://serverfault.com, SO is for programming issues. - Sami Kuhmonen

1 Answers

0
votes

Try this

Options All <--turn on all options
Options Indexes FollowSymLinks   <--- replace previously set options with these two