运行apache时出现禁止403错误

时间:2015-06-05 05:33:16

标签: apache ubuntu

我正在尝试在运行apache2的Ubuntu 14.10上设置rails app(redmine)。

日志

  

无法服务器目录:没有匹配的DirectoryIndex   (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm)找到了,   和Options指令禁止的服务器生成的目录索引

host.confg

<VirtualHost *:80>
  ServerAdmin kanishka@thewolf.in
  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>

铁杆新手。如果您需要更多信息,请告诉我。

1 个答案:

答案 0 :(得分:0)

试试这个

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