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

Bug#569026: marked as done (apache2-mpm-worker: Configured DocumentRoot for vhost ignored by compiled variable)



Your message dated Mon, 29 Sep 2014 22:45:01 +0200
with message-id <11120743.QoJXNVA4M5@k>
and subject line Re: Bug#569026: apache2-mpm-worker: Configured DocumentRoot for vhost ignored by compiled variable
has caused the Debian Bug report #569026,
regarding apache2-mpm-worker: Configured DocumentRoot for vhost ignored by compiled variable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
569026: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569026
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2-mpm-worker
Version: 2.2.14-6
Severity: normal


Hi,

I would like to open a Bug report for a 2.2.14 Apache2 installation.
Tried to search for the problem here, but couldn't find anything which looks
like my issue. 

I got several vhosts configured on my machine. They were all working fine until
I updated to 2.2.14 (Debian). For some unknown (for me) reason, one of the
vhosts is not working anymore in the way, that it will not use the DocumentRoot
configured within the vhosts configuration file, and tried to look for the
htdocs in the compiled default location, which is /etc/apache2/htdocs

[Tue Feb 09 10:59:42 2010] [error] [client x.x.x.x] File does not exist: /etc/apache2/htdocs

Where this is the vhost config:

<Directory /var/www/derchris.eu/htdocs/>
AddHandler fcgid-script .php
FCGIWrapper /usr/lib/cgi-bin/php5 .php
</Directory>

<VirtualHost derchris.eu:80>
        ServerAdmin derchris@derchris.eu
	ServerName derchris.eu
	ServerAlias www.derchris.eu derchris.net *.derchris.eu *.derchris.net
	DocumentRoot /var/www/derchris.eu/htdocs/
	<Directory /var/www/derchris.eu/htdocs/>
	Options ExecCGI Indexes +FollowSymLinks MultiViews
	AllowOverride all
        Order allow,deny
        allow from all
        </Directory>
        ScriptAlias /cgi-bin/ /var/www/derchris.eu/cgi-bin/
        <Directory "/var/www/derchris.eu/cgi-bin/">
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
        </Directory>
        RewriteLog /var/www/derchris.eu/logs/apache2/rewrite.log
        RewriteLogLevel 6

        ErrorLog /var/www/derchris.eu/logs/apache2/error.log
        CustomLog /var/www/derchris.eu/logs/apache2/access.log combined
        LogLevel warn
        ServerSignature On
</VirtualHost>

<VirtualHost derchris.eu:443>
        ServerAdmin derchris@derchris.eu
        ServerName derchris.eu
        ServerAlias www.derchris.eu derchris.net *.derchris.eu *.derchris.net
        DocumentRoot /var/www/derchris.eu/htdocs/
        <Directory /var/www/derchris.eu/htdocs/>
        Options ExecCGI Indexes +FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        allow from all
        </Directory>
        ScriptAlias /cgi-bin/ /var/www/derchris.eu/cgi-bin/
        <Directory "/var/www/derchris.eu/cgi-bin/">
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
        </Directory>
        RewriteLog /var/www/derchris.eu/logs/apache2/rewrite.log
        RewriteLogLevel 6

        ErrorLog /var/www/derchris.eu/logs/apache2/error_ssl.log
        CustomLog /var/www/derchris.eu/logs/apache2/access_ssl.log combined
        LogLevel warn
        ServerSignature On

        SSLEngine on
        SSLProtocol all -SSLv2
        SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
        SSLCertificateFile /etc/apache2/cert/derchris.eu/ssl.crt
        SSLCertificateKeyFile /etc/apache2/cert/derchris.eu/ssl.key
        SSLCertificateChainFile /etc/apache2/cert/derchris.eu/sub.class2.server.ca.pem
        SSLCACertificateFile /etc/apache2/cert/derchris.eu/ca.pem
        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
        CustomLog /var/www/derchris.eu/logs/apache2/ssl.log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

All vhosts are using the same structure, and only differ in the FS location.
I don't see any error with the other vhosts, but just this one.
As you can see, DocumentRoot is configured within the vhost config, but Apache
ignores this, and tries to look for /etc/apache2/htdocs

Here is a apache2ctl -V

Server version: Apache/2.2.14 (Debian)
Server built:   Feb  7 2010 17:24:02
Server's Module Magic Number: 20051115:23
Server loaded:  APR 1.4.2, APR-Util 1.3.9
Compiled using: APR 1.4.2, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Worker
  threaded:     yes (fixed thread count)
      forked:     yes (variable process count)
      Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/worker"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/apache2"
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="mime.types"
 -D SERVER_CONFIG_FILE="apache2.conf"

Please let me know if you think this is a bug, and what else you would need
from me in order to investigate this.

Kind regards,
Christian

-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic auth_pam authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgid dir env fcgid mime negotiation
  python qos rewrite setenvif ssl status vhost_alias wsgi

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

Kernel: Linux 2.6.32-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2-mpm-worker depends on:
ii  apache2.2-bin                 2.2.14-6   Apache HTTP Server common binary f
ii  apache2.2-common              2.2.14-6   Apache HTTP Server common files

apache2-mpm-worker recommends no packages.

apache2-mpm-worker suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 2.4.2-1

The compiled in document root has been changed to /var/www. Therefore 
this issue should no longer occur. Please re-open if it does.

--- End Message ---

Reply to: