www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <jcro...@divsol.com>
Subject general/8499: nested Includes are not reported by mod-info
Date Tue, 09 Oct 2001 22:06:05 GMT

>Number:         8499
>Category:       general
>Synopsis:       nested Includes are not reported by mod-info
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Oct 09 15:10:01 PDT 2001
>Originator:     jcromie@divsol.com
uname -a: 
Linux groucho.jimc.earth 2.4.10 #1 Tue Sep 25 18:41:57 MDT 2001 i686 unknown

[jimc@groucho conf]$ rpm -q mod_perl
[jimc@groucho conf]$ rpm -V mod_perl

[jimc@groucho conf]$ rpm -q apache
[jimc@groucho conf]$ rpm -V apache
....L... c /etc/httpd/conf/httpd.conf
SM5....T c /etc/httpd/conf/srm.conf
..?.....   /usr/sbin/suexec
S.5....T c /var/www/html/index.html

MOD_PERL => mod_perl/1.24_01 
SCRIPT_FILENAME => /var/www/perl/env.cgi 
SCRIPT_NAME => /perl/env.cgi 
SERVER_NAME => vhost.jimc.earth 
Apache/1.3.19 Server at vhost.jimc.earth Port 80

SERVER_SOFTWARE => Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 DAV/1.0.2

@INC: /usr/local/lib/perl5/5.6.1/i686-linux
Ive hacked at my config-files to compartmentalize and hide stuff,
heres a grep of the inclusions Im doing.

[jimc@groucho conf]$ grep '^Include' *.conf
httpd.conf:Include conf/sect-global.conf
httpd.conf:Include conf/sect-main.conf
httpd.conf:Include conf/sect-vhosts.conf
sect-main.conf:Include conf/sect-modperl.conf
sect-main.conf:Include conf/sect-log.conf
sect-main.conf:Include conf/sect-dir.conf

however, mod-info show only partial Inclusions:

Current Configuration: 
    ServerRoot /etc/httpd
    Include conf/sect-global.conf
    Include conf/sect-main.conf
    Include conf/sect-vhosts.conf
    <IfDefine HAVE_SSL>
    Include conf/sect-ssl.conf

I know from the env.cgi listing above (@inc is altered by startup.pl), that 
the nested sect-modperl.conf is getting properly included, just not reported.


Doc update?  bug report with good synopsis (hopefully this one)

Docs on mod-info say it reports from files, not from running server.
The effect of DSO is somewhat unclear on the report, could be clarified
by something like;

if youre running a DSO server, some directives are not properly detected. 
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message