[DRE-maint] Bug#570052: redmine: default apache configuration parse error

Antoine Beaupre anarcat at koumbit.org
Tue Feb 16 04:34:10 UTC 2010


Package: redmine
Version: 0.9.1-1~bpo50+1
Severity: normal

This package could automatically configure apache if the sample configuration would be 
sane. ;)

I get the following error if I symlink the config in place like this:

ln -s /usr/share/doc/redmine/examples/apache2-host.conf /etc/apache2/sites-available/redmine
a2ensite redmine
/etc/init.d/apache2 reload

Syntax error on line 18 of /etc/apache2/sites-enabled/redmine:
RewriteBase takes one argument, the base URL of the per-directory context

The simple fix is to remove the RewriteBase line on line 18. Now, to configure redmine 
in the webserver automatically will take a little more effort, but it's pretty close...

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable'), (2, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-5-vserver-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages redmine depends on:
ii  dbconfig-common         1.8.39           common framework for packaging dat
ii  debconf [debconf-2.0]   1.5.24           Debian configuration management sy
ii  libjs-prototype         1.6.1-1~bpo50+1  JavaScript Framework for dynamic w
ii  libjs-scriptaculous     1.8.3-1~bpo50+1  JavaScript library for dynamic web
ii  rails                   2.2.3-1~bpo50+1  MVC ruby based framework geared fo
ii  rake                    0.8.7-1~bpo50+1  a ruby build program
ii  redmine-sqlite          0.9.1-1~bpo50+1  metapackage providing sqlite depen
ii  ruby                    4.2              An interpreter of object-oriented 
ii  ruby1.8                 1.8.7.72-3lenny1 Interpreter of object-oriented scr

Versions of packages redmine recommends:
ii  libapache2-mod-fcgid          1:2.2-1    an alternative module compat with 
ii  libfcgi-ruby1.8 [libfcgi-ruby 0.8.7-4.1  FastCGI library for Ruby

Versions of packages redmine suggests:
ii  apache2-mpm-worker [http 2.2.9-10+lenny6 Apache HTTP Server - high speed th
pn  libopenid-ruby           <none>          (no description available)
pn  librmagick-ruby          <none>          (no description available)
pn  libsvn-ruby              <none>          (no description available)

-- debconf information:
  redmine/instances/default/db/app-user: redmine
  redmine/instances/default/passwords-do-not-match:
  redmine/instances/default/default-language: fr
  redmine/instances/default/remote/newhost:
  redmine/instances/default/db/basepath: /var/lib/dbconfig-common/sqlite3/redmine/instances/default
  redmine/notify-migration:
  redmine/old-instances:
  redmine/instances/default/upgrade-error: abort
  redmine/instances/default/pgsql/changeconf: false
  redmine/instances/default/missing-db-package-error: abort
  redmine/instances/default/db/dbname: redmine_default
  redmine/instances/default/purge: false
  redmine/current-instances: default
  redmine/instances/default/remote/host:
  redmine/default-language: ${defaultLocale}
  redmine/instances/default/pgsql/no-empty-passwords:
  redmine/instances/default/dbconfig-upgrade: true
  redmine/instances/default/internal/reconfiguring: false
  redmine/instances/default/upgrade-backup: true
  redmine/instances/default/pgsql/method: unix socket
  redmine/instances/default/install-error: abort
  redmine/instances/default/mysql/admin-user: root
* redmine/instances/default/database-type: sqlite3
  redmine/instances/default/pgsql/manualconf:
  redmine/instances/default/pgsql/authmethod-admin: ident
  redmine/instances/default/mysql/method: unix socket
  redmine/instances/default/internal/skip-preseed: false
  redmine/instances/default/pgsql/admin-user: postgres
  redmine/instances/default/remove-error: abort
  redmine/instances/default/dbconfig-remove:
  redmine/instances/default/remote/port:
  redmine/instances/default/pgsql/authmethod-user: password
* redmine/instances/default/dbconfig-install: true
  redmine/instances/default/dbconfig-reinstall: false






More information about the Pkg-ruby-extras-maintainers mailing list