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

Bug#720747: apache2: After upgrading to version 2.4.6-3, The requested URL <bla bla bla> was not found on this server



Package: apache2
Version: 2.4.6-3
Severity: normal


Thank you for maintaining apache2.

It's important.

After upgrading from version 2.2.22-13 to 2.4.6-3,
trying to GET a page fails with

    "The requested URL <bla bla bla> was not found on this server"

in the web browser and

     127.0.0.1 - - [24/Aug/2013:14:01:27 -0700] "GET <bla bla bla> HTTP/1.1" 404 507 "-" "Mozilla <bla bla bla>

in /var/log/apache2/access.log.


It seems to me that an "Alias" in a

    /etc/apache2/conf.d/*.conf 
    
file is being ignored because

    /etc/apache2/apache2.conf
    
no longer looks in

    /etc/apache2/conf.d.


I seem to have worked around the bug by

    $ cp /etc/apache2/conf.d/basename.conf /etc/apache2/conf-available/basename.conf

    $ a2enconf basename

    $ service apache2 reload

This creates a link from

    /etc/apache2/conf-enabled/basename.conf

to

    /etc/apache2/conf-available/basename.conf


I humbly suggest improving 2.4's upgrade by either

    1.) automatically copying files from 

            /etc/apache2/conf.d/
        
        to
            
            /etc/apache2/conf-available/

    2.) explaining that

            /etc/apache2/conf.d/

        was replaced by

            /etc/apache2/conf-available/

        in 

            /usr/share/doc/apache2/README.Debian.gz
            
        and suggest copying files from the old
        directory to the new one.

    3.) or replacing something like

            Include conf.d/

        in

            /etc/apache2/apache2.conf
        
I hope that helps,
Kingsley

-- Package-specific info:

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2 depends on:
ii  apache2-bin                   2.4.6-3    Apache HTTP Server (binary files a
ii  apache2-data                  2.4.6-3    Apache HTTP Server (common files)
ii  lsb-base                      3.2-27     Linux Standard Base 3.2 init scrip
ii  mime-support                  3.51-1     MIME files 'mime.types' & 'mailcap
ii  perl                          5.14.2-20  Larry Wall's Practical Extraction 
ii  procps                        1:3.2.8-11 /proc file system utilities

Versions of packages apache2 recommends:
ii  ssl-cert                      1.0.28     simple debconf wrapper for OpenSSL

Versions of packages apache2 suggests:
ii  apache2-doc                2.4.6-3       Apache HTTP Server (on-site docume
pn  apache2-suexec-pristine |  <none>        (no description available)
ii  apache2-utils              2.4.6-3       Apache HTTP Server (utility progra
ii  chimera2 [www-browser]     2.0a19-5.1+b1 Web browser for X
ii  dillo [www-browser]        3.0.2-2       Small and fast web browser
ii  iceweasel [www-browser]    17.0.8esr-2   Web browser based on Firefox
ii  lynx-cur [www-browser]     2.8.8dev.9-2  Text-mode WWW Browser with NLS sup
ii  w3m [www-browser]          0.5.3-3       WWW browsable pager with excellent

Versions of packages apache2-bin depends on:
ii  libapr1                  1.4.5-1         Apache Portable Runtime Library
ii  libaprutil1              1.5.2-1         Apache Portable Runtime Utility Li
ii  libaprutil1-dbd-sqlite3  1.5.2-1         Apache Portable Runtime Utility Li
ii  libaprutil1-ldap         1.5.2-1         Apache Portable Runtime Utility Li
ii  libc6                    2.17-1          Embedded GNU C Library: Shared lib
ii  libcap2                  1:2.22-1        support for getting/setting POSIX.
ii  libldap-2.4-2            2.4.25-1.1      OpenLDAP libraries
ii  liblua5.1-0              5.1.4-10        Shared library for the Lua interpr
ii  libpcre3                 1:8.31-2        Perl 5 Compatible Regular Expressi
ii  libssl1.0.0              1.0.1e-1        SSL shared libraries
ii  libxml2                  2.9.1+dfsg1-3   GNOME XML library
ii  perl                     5.14.2-20       Larry Wall's Practical Extraction 
ii  zlib1g                   1:1.2.7.dfsg-13 compression library - runtime

Versions of packages apache2-bin suggests:
ii  apache2-doc                2.4.6-3       Apache HTTP Server (on-site docume
pn  apache2-suexec-pristine |  <none>        (no description available)
ii  chimera2 [www-browser]     2.0a19-5.1+b1 Web browser for X
ii  dillo [www-browser]        3.0.2-2       Small and fast web browser
ii  iceweasel [www-browser]    17.0.8esr-2   Web browser based on Firefox
ii  lynx-cur [www-browser]     2.8.8dev.9-2  Text-mode WWW Browser with NLS sup
ii  w3m [www-browser]          0.5.3-3       WWW browsable pager with excellent

Versions of packages apache2 is related to:
ii  apache2                       2.4.6-3    Apache HTTP Server
ii  apache2-bin                   2.4.6-3    Apache HTTP Server (binary files a

-- Configuration Files:
/etc/apache2/conf-available/other-vhosts-access-log.conf changed [not included]
/etc/apache2/ports.conf changed [not included]
/etc/apache2/sites-available/000-default.conf changed [not included]

-- no debconf information


Reply to: