Project

General

Profile

Error when installing redmine

Added by Alex Step about 13 years ago

Hello.

I was read this instruction http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu and was trying to install redmine.

But i have an error:

Directory index forbidden by Options directive: /var/www/redmine/

Access to my files:

ls -l /var/www/ | grep redmine 18.04.2011 10:28:48
lrwxrwxrwx 1 www-data www-data 25 2011-04-18 10:19 redmine -> /usr/share/redmine/public

ls -l /var/www/redmine/
total 44
-rw-r--r-- 1 www-data www-data  484 2011-03-07 21:44 404.html
-rw-r--r-- 1 www-data www-data  576 2011-03-07 21:44 500.html
-rwxr-xr-x 1 www-data www-data  966 2011-04-01 14:34 dispatch.fcgi
-rwxr-xr-x 1 www-data www-data  477 2011-03-07 21:44 dispatch.rb.example
-rw-r--r-- 1 www-data www-data 7886 2011-03-07 21:44 favicon.ico
drwxr-xr-x 2 www-data www-data 4096 2011-04-18 09:10 help
drwxr-xr-x 4 www-data www-data 4096 2011-04-18 09:10 images
drwxr-xr-x 4 www-data www-data 4096 2011-04-18 09:10 javascripts
drwxr-xr-x 2 www-data www-data 4096 2011-04-18 09:10 stylesheets
drwxr-xr-x 4 www-data www-data 4096 2011-04-18 09:10 themes

Apache host config:

<VirtualHost *:80>
   ServerName --------------
   ServerAdmin -------------
   ServerAlias -------------
   DocumentRoot /var/www/redmine
   <Directory /var/www/redmine/>
      Options FollowSymLinks
      AllowOverride All
      Allow from all
                Options -MultiViews
   </Directory>
   ErrorLog /var/log/apache2/redmine-error.log
   LogLevel warn
   CustomLog /var/log/apache2/redmine-access.log combined
   RailsEnv production
</VirtualHost>

How can i fix this error?


Replies (3)

RE: Error when installing redmine - Added by Felix Schäfer about 13 years ago

Is passenger installed correctly? Have a look at the apache logs to see why exactly you get a directory index forbidden.

RE: Error when installing redmine - Added by Alex Step about 13 years ago

This from log:

Directory index forbidden by Options directive: /var/www/redmine/

    (1-3/3)