Forum Moderators: DixonJones

Message Too Old, No Replies

Log file stats question

Apache log to IIS log question

         

Reflect

2:15 pm on Oct 1, 2002 (gmt 0)

10+ Year Member



Hi,

In trying to get up to speed on Apache I was talking shop with an Apache admin..

I commented that from my IIS logs I can pull out user's screen resolution and color depth. He sort of doubted me so I showed him an example report run from a W2K IIS 5 server log file.

Is there a way with Apache to obtain this information?

TIA,

Brian

Reflect

12:29 pm on Oct 2, 2002 (gmt 0)

10+ Year Member



Anyone?

ukgimp

12:47 pm on Oct 2, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you checked out the apache site.

[httpd.apache.org...]

amoore

1:42 pm on Oct 2, 2002 (gmt 0)

10+ Year Member



the only way I've seen that done is with a javascript that detects and reports it. Do you have to put anything special in your pages to do that on IIS?

Reflect

6:18 pm on Oct 2, 2002 (gmt 0)

10+ Year Member



Do you have to put anything special in your pages to do that on IIS?

Nope, I just run the raw log files through an analyzer that I use and it is on the reports. They are W3C format.

Brian

amoore

7:14 pm on Oct 2, 2002 (gmt 0)

10+ Year Member



They're in this format?
[w3.org...]

I don't see any place defined in there for the client screen resolution. Can you post a line or 2 from your log files so I can see for myself. I'm really impressed with it and can't quite figure out how your webserver knows the resolution.

Slade

8:34 pm on Oct 2, 2002 (gmt 0)

10+ Year Member



[w3.org...]

The common logfile format is as follows:

remotehost rfc931 authuser [date] "request" status bytes


Anything more than that, is icing.

Just having your page run on a Windows box means that more things will happen than you expect. The extra data you're getting is just that, extra.

Reflect

10:47 pm on Oct 2, 2002 (gmt 0)

10+ Year Member



Hi,

Acually, I hate to admit, I stand corrected.I just took a look at all my reports real fast and no I do not see this. I must of got mixed up with the OS reporting portion.
Guess I need more sleep or better glasses.

Brian

Mikkel Svendsen

6:40 am on Oct 4, 2002 (gmt 0)

10+ Year Member



Internet Explorer versions prior to 4 will send that information as part of the http request - but as far as I know there is no newer versions that does it. So, in an old IIS log you might find such information but not anymore. You need JavaScript to detect this information and then transfer it to a custom field in your log, or run a seperated tracking (many online trackers/hit counters have this option)