[pkg-kolab] Bug#414038: kolab-resource-handlers should depend on libapache-mod-php4 OR

Debian BTS debbugs at bugs.debian.org
Thu Mar 8 21:06:06 CET 2007


libapache2-mod-ph
Reply-To: Mathieu Parent <math.parent at gmail.com>, 414038 at bugs.debian.org
Resent-From: Mathieu Parent <math.parent at gmail.com>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Debian Kolab Maintainers <pkg-kolab-devel at lists.alioth.debian.org>
Resent-Date: Thu, 08 Mar 2007 20:06:02 +0000
Resent-Message-ID: <handler.414038.B.117338393817269 at bugs.debian.org>
Resent-Sender: owner at bugs.debian.org
X-Debian-PR-Message: report 414038
X-Debian-PR-Package: kolab-resource-handlers
X-Debian-PR-Keywords: 
X-Debian-PR-Source: kolab-resource-handlers
Received: via spool by submit at bugs.debian.org id=B.117338393817269
          (code B ref -1); Thu, 08 Mar 2007 20:06:02 +0000
Received: (at submit) by bugs.debian.org; 8 Mar 2007 19:58:58 +0000
Received: from smtp5-g19.free.fr ([212.27.42.35])
	by rietz.debian.org with esmtp (Exim 4.50)
	id 1HPOgR-0001EE-P4
	for submit at bugs.debian.org; Thu, 08 Mar 2007 19:53:53 +0000
Received: from localhost.localdomain (sathieu.net [82.229.148.145])
	by smtp5-g19.free.fr (Postfix) with ESMTP id CBBCC7E04;
	Thu,  8 Mar 2007 20:53:50 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Mathieu Parent <math.parent at gmail.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Message-ID: <20070308195350.9725.73566.reportbug at localhost.localdomain>
X-Mailer: reportbug 3.31
Date: Thu, 08 Mar 2007 20:53:50 +0100
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: kolab-resource-handlers
Version: 0.3.9-20060811-3
Severity: wishlist

This can be made using an appropriate apache config file (see phpmyadmin
for an example)

Note that now than PHP5 is in etch, kolab can break web apps requiring
php5.
So php4-cgi can solve this.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)


*** /usr/share/phpmyadmin/.htaccess
DirectoryIndex index.php
Options +FollowSymLinks -Indexes

<IfModule mod_mime.c>
    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule mod_php5.c>
        AddType application/x-httpd-php .php

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule !mod_php4.c>
    <IfModule !mod_php5.c>
    <IfModule !mod_fastcgi.c>
    <IfModule !mod_fcgid.c>
    <IfModule mod_actions.c>
    <IfModule mod_cgi.c>
        AddType application/x-httpd-php .php

        Action application/x-httpd-php /cgi-bin/php
    </IfModule>
    <IfModule mod_cgid.c>
        AddType application/x-httpd-php .php

        Action application/x-httpd-php /cgi-bin/php
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
</IfModule>

# Deny config.inc.php file
<Files config.inc.php>
    Order deny,allow
    Deny from all
</Files>
	
# Authorize for setup
<Files setup.php>
    # For Apache 1.3 and 2.0
    <IfModule mod_auth.c>
	AuthType Basic
	AuthName "phpMyAdmin Setup"
	AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    # For Apache 2.2
    <IfModule mod_authn_file.c>
	AuthType Basic
	AuthName "phpMyAdmin Setup"
	AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    Require valid-user
</Files>




More information about the pkg-kolab-devel mailing list