Package: serendipity
Version: 1.2-1
Severity: important

Under Configuration->Appearance and Options->URL Rewriting
I chose "Use apache mod_rewrite".

After saving, the user is informed that "write to
/usr/share/serendipity/www/.htaccess" is successful.
However, CSS and articles fail to load and the rewrite feature 
does not work.

Restoring the option to "Disable URL Rewriting", the CSS and article
access is restored.

This appears to be because the package maintainer has modified the
upstream source file ./include/functions_installer.inc.php
by adding a comment and a return statement at the beginning of this
function:

    function serendipity_installFiles($serendipity_core = '') {

    # Debian: these two files are under /etc and not writable by serendipity
    return true;

Obviously, code after the "return true" never execute.

This falsely reports to serendipity that the .htaccess file has
been successfully updated to include mod_rewrite directives.

Serendipity proceeds to update the database to indicate that mod_rewrite
is active and outputs URLs accordingly. This causes the breakage of most
links.

I have verified that this bug does not exist upstream.

URL rewriting is an important feature of blog software. It should not
be disabled by the package. If having user www-data write to /etc/serendipity/
violates Debian policy, then the package should not move the .htaccess file
to this location. 

Thank you,

Norman


-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)

Kernel: Linux 2.6.9-023stab044.11-smp (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages serendipity depends on:
ii  apache2                   2.2.3-4+etch1  Next generation, scalable, extenda
ii  apache2-mpm-prefork [http 2.2.3-4+etch1  Traditional model for Apache HTTPD
pn  dbconfig-common           <none>         (no description available)
ii  debconf [debconf-2.0]     1.5.11         Debian configuration management sy
ii  libapache2-mod-php5       5.2.3-1+lenny1 server-side, HTML-embedded scripti
pn  php-cache-lite            <none>         (no description available)
pn  php-http-request          <none>         (no description available)
pn  php-net-checkip           <none>         (no description available)
pn  php-net-socket            <none>         (no description available)
pn  php-net-url               <none>         (no description available)
pn  php-pear                  <none>         (no description available)
ii  php5-pgsql                5.2.3-1+lenny1 PostgreSQL module for php5
ii  postgresql-client-8.2 [po 8.2.4-2        front-end programs for PostgreSQL 
pn  smarty                    <none>         (no description available)

Versions of packages serendipity recommends:
ii  imagemagick     7:6.2.4.5.dfsg1-1+lenny1 Image manipulation programs
ii  php5-gd         5.2.3-1+lenny1           GD module for php5
ii  ttf-bitstream-v 1.10-7                   The Bitstream Vera family of free 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to