IIS3 only supports NCSa format or "Standard" format (IIS standard, that 
is). Neither of these formats include browser information.

IIS4 also supports the Extended W3C Log format, which allows you to 
include Browser information.

If you have IIS3, you can
a) upgrade to IIS4 (IIS4 is a much better Web Server, but the upgrade
   process has been painful for some people).
b) install a custom Logile ISAPI filer (such as FlogU from 
   http://www.genusa.com/isapi/isapisrc.html  or a commercial filter 
   http://www.maximized.com/products/flashstats/flashlog.htm. I found
   these by searching AltaVista, and have no experience with either of   
   them)
c) If you have ASP installed, and are using an ASP as your home page (or 
any other popular page) you could just add the following ASP code to 
create your own AgentLog. It won't tell you about every visitor to your 
site, but it may be good enough in the short term.

<%
     Dim fs, a
     Set fs = CreateObject("Scripting.FileSystemObject")
     Set a = fs.OpenTextFile("D:\LogFiles\AgentLog", 8, True)
     a.Write Date & ", " & Time & ", "
     a.Write Request.ServerVariables("Remote_Host") & ", "
     a.WriteLine Request.ServerVariables("HTTP_User_Agent")
     a.Close
     Set a = nothing
     Set fs = nothing
end if
%>


If you are running IIS4, but the Active Log format box is blank, so that 
you can't change format, open a DOS prompt, and type 
CD \WINNT\SYSTEM32\INETSRV
REGSVR32 LOGUI.OCX

Then you should be able to change the Log format to Extended, and select 
User Agent on the Extended Properties tab.

Aengus


______________________________ Reply Separator _________________________________
Subject: [analog-help] Browser Summary and IIS
Author:  [EMAIL PROTECTED] at Internet
Date:    3/3/99 10:46 AM


On NT4, SP3 can I get IIS to log the browser information?  I look at the 
log files now and don't see it so it can be reported.  Am I wasting my time 
looking how this can be done?

My log file now looks like: (a typical line without browser information).

198.110.19.52, -, 2/22/99, 20:37:37, W3SVC, EHSERV, 169.237.132.83, 9534, 
259, 1724, 200, 0, GET, /curricul.gif, -, 


Glen Forister   530-752-4337    FAX 530-752-1819 
[EMAIL PROTECTED],         [EMAIL PROTECTED] 
Environmental Horticulture Dept., 
University of California, Davis, CA   95616

-------------------------------------------------------------------- 
This is the analog-help mailing list. To unsubscribe from this 
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE. 
--------------------------------------------------------------------
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to