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

Bug#606141: apache2ctl configtest and apache2ctl graceful gives incorrect warning about a (non existent) Alias in VirtualHost



Package: apache2.2-common
Version: 2.2.16-4
Severity: minor


A DocumentRoot active only in a VirtualHost like this:

<VirtualHost *:80>
        ServerName bugconfig.example.conf
        DocumentRoot /var/www/bugconfig
        <Directory /var/www/bugconfig>
                AllowOverride None
        </Directory>
        <Location />
                Order Allow,Deny
        Allow from All
        </Location>
</VirtualHost>

gives this warning:

[date/time here] [warn] The Alias directive in /etc/apache2/conf.d/bugconfig.conf at line 3 will probably never match because it overlaps an earlier Alias.

but it works correctly, so the bug is in the test for the warning. Morevover, there is no Alias there.


-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi deflate dir env mime
  negotiation php5 reqtimeout setenvif status
List of enabled php5 extensions:
  mysql mysqli pdo pdo_mysql suhosin

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.2.16-4   Apache HTTP Server - traditional n
ii  apache2.2-common              2.2.16-4   Apache HTTP Server common files

apache2 recommends no packages.

apache2 suggests no packages.

Versions of packages apache2.2-common depends on:
ii  apache2-utils                 2.2.16-4   utility programs for webservers
ii  apache2.2-bin                 2.2.16-4   Apache HTTP Server common binary f
ii  libmagic1                     5.04-5     File type determination library us
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  mime-support                  3.48-1     MIME files 'mime.types' & 'mailcap
ii  perl                          5.10.1-16  Larry Wall's Practical Extraction 
ii  procps                        1:3.2.8-9  /proc file system utilities

-- no debconf information



Reply to: