[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#257945: apache2-common: wrong behaviour when downloading .php files using webdav and mod_dav



Package: apache2-common
Version: 2.0.49-1
Severity: grave
Justification: renders package unusable

I recently upgraded from apache1 to apache2, mainly due the fact that
apache2 is needed for subversion.

Anyway, I use mod_dav to access the files on my virtual hosts, but I
experienced this bad behaviour: when I download a .php file, the source
is not downloaded but instead it seems like the output of the php
processing is taken, as if it was a normal http request.

The same configuration worked well with apache1 and mod_dav.

Here is an excerpt of my config:

<VirtualHost *:80>
  ServerName mysite.com

  <Location />
    Dav On
    AuthType Basic
    AuthName "Auth Required"
    AuthUserFile users.basic
    Options Indexes FollowSymLinks
    <Limit DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
      Require user myuser
    </Limit>
  </Location>

</VirtualHost>

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

Versions of packages apache2-common depends on:
ii  debconf                     1.4.28       Debian configuration management sy
ii  debianutils                 2.8.3        Miscellaneous utilities specific t
ii  libapr0                     2.0.49-1     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.23-1     OpenLDAP libraries
ii  libmagic1                   4.09-1       File type determination library us
ii  libssl0.9.7                 0.9.7d-3     SSL shared libraries
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  openssl                     0.9.7d-3     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-7        Simple debconf wrapper for openssl
ii  zlib1g                      1:1.2.1.1-3  compression library - runtime

-- no debconf information



Reply to: