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