[DRE-maint] Bug#615999: redmine: Apache2 proposal configuration, better fcgid configuration with the default virtual host alowed also

PICCORO McKAY Lenz mckaygerhard at gmail.com
Tue Mar 1 17:12:10 UTC 2011


Package: redmine
Version: 1.0.5-1
Severity: important

*** Please type your report below this line ***


-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=es_VE.UTF-8, LC_CTYPE=es_VE.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  libactionmailer-ruby 2.3.5-1~bpo50+1     Framework for generation of custom
ii  libactionpack-ruby   2.3.5-1~bpo50+1     Controller and View framework used
ii  libactiveresource-ru 2.3.5-1~bpo50+1     Connects objects and REST web serv
ii  libactivesupport-rub 2.3.5-1~bpo50+1     utility classes and extensions (Ru
ii  libjs-scriptaculous  1.8.3-1~bpo50+1     JavaScript library for dynamic web
ii  rails                2.3.5-1~bpo50+1     MVC ruby based framework geared fo
ii  redmine-pgsql        1.0.5-1             metapackage providing PostgreSQL d
ii  ruby                 4.2                 An interpreter of object-oriented
ii  ruby1.8              1.8.7.302-2~bpo50+1 Interpreter of object-oriented scr

redmine recommends no packages.

Versions of packages redmine suggests:
pn  libopenid-ruby      <none>               (no description available)
ii  librmagick-ruby     2.5.2-1              ImageMagick API for Ruby
ii  libsvn-ruby         1.6.12dfsg-2~bpo50+1 Ruby bindings for Subversion (dumm

NOTE: for this proposal, redmine need to depends of libfcgi-ruby1.8
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614198> for this
issue :

ii  libfcgi-ruby1.8       0.8.7-4.1          FastCGI library for Ruby
ii  libfcgi0ldbl          2.4.0-7            Shared Library of FastCGI

So then , I found a way for apache2 to run the site by default and also
Redmine without this occupies the server completely, as shows the examples of
the documentation, can not run multiple virtual directories. For this, to
enable it, using FCGID module , i'll put and used in fcgid.conf file this
configs:

----------------------------------------------------------------------
<IfModule mod_fcgid.c>
  AddHandler    fcgid-script .fcgi
  FcgidConnectTimeout 20

  # These modules must be enabled : rewrite, fcgid
# (mod_fastcgi is much harder to configure)
# Configuration for http://localhost/redmine
        # FcgidInitialEnv for module mod_fcgid
        FcgidInitialEnv RAILS_RELATIVE_URL_ROOT "/redmine"
        FcgidInitialEnv X_DEBIAN_SITEID "default"

        Alias "/redmine/plugin_assets/"
/var/cache/redmine/default/plugin_assets/
        Alias "/redmine" /usr/share/redmine/public
        <Directory "/usr/share/redmine/public">
                Options +FollowSymLinks +ExecCGI
                Order allow,deny
                Allow from all
                RewriteEngine On
                RewriteBase "/redmine"
                RewriteRule ^$ index.html [QSA]
                RewriteRule ^([^.]+)$ $1.html [QSA]
                RewriteCond %{REQUEST_FILENAME} !-f [OR]
                RewriteCond %{REQUEST_FILENAME} dispatch.fcgi$
                RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
        </Directory>

</IfModule>

--------------------------------------------

so i only added the apache2 configuration found for "*" default virtual host
as directory rule on fcgid configurations..

so, in hope to autoconfigures the apache2 for redmine in backports for
squeeze or next unstable release of package

-- 
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
Cofundador de Venenux;
http://shutendouji.net
creador de massenkoh linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20110302/618171e1/attachment-0001.htm>


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