After we were recently moved to a new web server, I updated the form, .pl and cfg file to point to the new locations for logs and other files. On the form page, "Produce Statistics" initially resulted in CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.
After inserting: print "Content-Type: text/plain\n\n"; in the Perl file, and changing to DEBUG ON in the cfg file, I got the following output: I:/websites/STRUCT~1/mast/stats/analog-6.0/analog.exe: analog version 6.0/Win32 F: Closing configuration file I:\websites\structures\mast\stats\structures.cfg F: Opening I:\websites\structures\mast\stats\\errors.txt as new ERRFILE I:/websites/STRUCT~1/mast/stats/analog-6.0/analog.exe: Warning E: Redirecting future diagnostic messages to I:\websites\structures\mast\stats\\errors.txt (For help on all errors and warnings, see docs/errors.html) Content-Type: text/plain x VE analog 6.0 x HN FEM x PS 2007 04 04 07 57 x FR 2007 03 07 17 55 x LR 2007 04 02 18 22 x E7 2007 04 04 07 57 x SR 0 x S7 0 x FL 4 x F7 3 x CL 1 x UL 22202 Since the output shows that the Header was picked up, and the 3/7/2007 to 4/4/2007 dates represent the (default) ranges of log file dates, it appeared that the log files were found but not processed. The log file format on the new server is different, and I was not using a LOGFORMAT. I next inserted the following in the cfg file: LOGFORMAT (%Y-%m-%d %h:%n:%j %j %j %r %j %j %u %S %j %c) LOGFILE I:\websites\structures\mast\WebLogs\W3SVC80004710\ex*.log Here are the first few lines from a log file: #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2007-03-13 07:45:42 #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 2007-03-13 07:45:42 W3SVC80004710 192.161.24.89 GET /robots.txt - 80 - 192.42.218.37 googlebot+(Enterprise;+GEX-01132;[EMAIL PROTECTED]) 404 0 2 2007-03-13 08:03:38 W3SVC80004710 192.161.24.89 GET /materials/applied_physics/Advanced_Apps.shtml - 80 - 192.42.218.37 googlebot+(Enterprise;+GEX-01132;[EMAIL PROTECTED]) 200 0 0 2007-03-13 08:06:37 W3SVC80004710 192.161.24.89 GET /materials/applied_physics/fellows.shtml - 80 - 192.42.218.37 googlebot+(Enterprise;+GEX-01132;[EMAIL PROTECTED]) 200 0 0 1) What could be causing the CGI Error? 2) The errors.txt file was created, but empty. What else can I do to get more diagnostic information? 3) Since there are no errors or warning about the log file format, how can I verify that analog.exe is at least trying to process the log files? Thanks, Mike Smith +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

