Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-Info CPAN distribution.

Report information
The Basics
Id: 28833
Status: resolved
Priority: 0/
Queue: App-Info

People
Owner: Nobody in particular
Requestors: jeremiah [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.52



Subject: App::Info::HTTPD::Apache
The documentation states that my $httpd_root = $apache->httpd_root; should provide information on the document root for the current version of Apache. However, it produces no output whatsoever.
Subject: Re: [rt.cpan.org #28833] App::Info::HTTPD::Apache
Date: Tue, 14 Aug 2007 10:18:48 -0700
To: bug-App-Info [...] rt.cpan.org
From: "David E. Wheeler" <david [...] kineticode.com>
On Aug 14, 2007, at 09:42, jeremiah foster via RT wrote: Show quoted text
> The documentation states that my $httpd_root = $apache->httpd_root; > should provide > information on the document root for the current version of Apache. > However, it produces no > output whatsoever.
Does $apache->installed return true? If not, then App::Info did not find Apache. If it does return true, what does $apache->executable return? It should be something like /usr/local/apache/bin/httpd. And given that, what does /usr/local/apache/bin/httpd -V output? Best, David
Subject: Re: [rt.cpan.org #28833] App::Info::HTTPD::Apache
Date: Tue, 14 Aug 2007 22:08:11 +0200
To: bug-App-Info [...] rt.cpan.org
From: Jeremiah Foster <jeremiah [...] jeremiahfoster.com>
On Aug 14, 2007, at 7:19 PM, David Wheeler via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=28833 > > > On Aug 14, 2007, at 09:42, jeremiah foster via RT wrote: >
>> The documentation states that my $httpd_root = $apache->httpd_root; >> should provide >> information on the document root for the current version of Apache. >> However, it produces no >> output whatsoever.
> > Does $apache->installed return true?
Yes. Show quoted text
> If not, then App::Info did not > find Apache. If it does return true, what does $apache->executable > return?
/usr/sbin/apache2 Show quoted text
> It should be something like /usr/local/apache/bin/httpd. And > given that, what does /usr/local/apache/bin/httpd -V output?
The binary for apache2 is not called httpd any longer, (as seen from the output pasted above.) So httpd -V produces nothing. However, sudo apache2 -V produces the following: Server version: Apache/2.2.3 Server built: Aug 3 2007 23:30:48 Server's Module Magic Number: 20051115:3 Server loaded: APR 1.2.7, APR-Util 1.2.7 Compiled using: APR 1.2.7, APR-Util 1.2.7 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -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="" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" Jeremiah
Subject: Re: [rt.cpan.org #28833] App::Info::HTTPD::Apache
Date: Tue, 14 Aug 2007 13:58:32 -0700
To: bug-App-Info [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
On Aug 14, 2007, at 13:08, jeremiah foster via RT wrote: Show quoted text
> -D HTTPD_ROOT=""
And this is why $apache->httpd_root returned an empty string. Best, David