You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ba...@twignation.com on 2002/09/02 20:31:39 UTC

[users@httpd] how does one make apache 2.0.40 identify browser and OS in log files.

Hi,

I am sure that is an easy one.  I am having trouble getting apache 2 to
recognize and record browser type, and OS into the logs.  Any ideas what I need
to change/enable in httpd.conf.?

Thanks,

--bash

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how does one make apache 2.0.40 identify browser and OS in log files.

Posted by Joshua Slive <jo...@slive.ca>.
Robert Lilly wrote:
> Joshua Slive wrote:
> 
>>and replace
>>  CustomLog logs/access_log combined
>>with
>>  CustomLog logs/access_log combined
>>
>>Joshua.
> 
> 
> ??? Replace the directive with the same thing?

Sure.  It's magic ;-)

I meant replace "common" with "combined".

Joshua.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] how does one make apache 2.0.40 identify browser and OS in log files.

Posted by Robert Lilly <rc...@lvcm.com>.
Joshua Slive wrote:
> 
> and replace
>   CustomLog logs/access_log combined
> with
>   CustomLog logs/access_log combined
> 
> Joshua.

??? Replace the directive with the same thing?

Robert Lilly
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 2002-08-21


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how does one make apache 2.0.40 identify browser and OS in log files.

Posted by Joshua Slive <jo...@slive.ca>.
bash@twignation.com wrote:
> Hi,
> 
> I am sure that is an easy one.  I am having trouble getting apache 2 to
> recognize and record browser type, and OS into the logs.  Any ideas what I need
> to change/enable in httpd.conf.?

See:
http://httpd.apache.org/docs-2.0/logs.html#combined

Add the following:
  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-agent}i\"" combined

and replace
  CustomLog logs/access_log combined
with
  CustomLog logs/access_log combined

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how does one make apache 2.0.40 identify browser and OS in log files.

Posted by David Lucas <da...@yetiservices.com>.
turn on
CustomLog logs/access.log common

or the variation thereof



At 01:31 PM 9/2/2002, you wrote:

>Hi,
>
>I am sure that is an easy one.  I am having trouble getting apache 2 to
>recognize and record browser type, and OS into the logs.  Any ideas what I 
>need
>to change/enable in httpd.conf.?
>
>Thanks,
>
>--bash
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org