httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] CustomLog logs/access_log combined not working from within <IfModule log_config_module></IfModule>
Date Sun, 05 Feb 2006 20:40:15 GMT

Yes, I checked the module identifier in my httpd.conf file, 
and that's where I came up with the psuedo-solution to your 

The manual for this module says:

Apache Module mod_log_config

Description: Logging of the requests made to the server
Status: Base
Module Identifier: log_config_module
Source File: mod_log_config.c

It looks like you need to use the full source code filename 
for the <IfModule xyz.c> directive, and not the Module 

If you're not sure what name to use, just check the docs 
for the source file name for a particular module. Hopefully, 
that will stop any future problems like this occuring.

You probably don't need to clutter your httpd.conf file with 
<IfModule> directives anyway, once you know what modules you 
intend to keep using.

You could comment out any unused LoadModule directives for 
your DSO's, and uncomment them when you want to add them to 
your configuration file, with the appropriate directives.



In theory, theory and practice are the same;
In practice they are not. 

On Sun, 5 Feb 2006, Richard de Vries wrote:

> To: From: Richard de Vries 
> <> Subject: Re: [users@httpd] 
> CustomLog logs/access_log combined not working from
>      within <IfModule log_config_module></IfModule>
> Ok .. sorry, my mistake.
> Your suggestion of adding .c did work, but not when
> applying it to the module alias .. DUH.
> so this does not work:
>     <IfModule log_config_module.c>
> but this DOES work:
>     <IfModule mod_log_config.c>
> Do you happen to know why this is?. Why do some
> <IfModule> statements work fine on the module
> name/alias, and others require it to be the
> "mod_real_name.c" ?
> --- Richard de Vries <>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message