*This message was transferred with a trial version of CommuniGate(tm) Pro* Alle 18.20 Wednesday 02/08/2000 +0800, Michael Janich ha mandato a Marco questo messaggio: >Bon journo, > >I've seen that you have made an additional file for search engine >parameter to be parsed. I want >to do the same with my OWN web site, wich uses cgi parameters. But I'm >to stupid to find out how >it works. Please, please, per favor, I need your help! > >My log file contains lines like >210.177.77.1 - tjhorn [Tue Aug 01 01:12:20 GMT+00:00 2000] "GET >/servlet/com.rawmart.Browse?level=1262&lang=0&show=news&display=forSale >HTTP/1.0" 200 - >210.177.77.1 - tjhorn [Tue Aug 01 01:12:27 GMT+00:00 2000] "GET >/servlet/com.rawmart.Browse?level=5&show=news&display=forSale HTTP/1.0" >200 - >210.177.77.1 - tjhorn [Tue Aug 01 01:12:37 GMT+00:00 2000] "GET >/servlet/com.rawmart.Browse?level=90&show=news&display=forSale HTTP/1.0" >200 - >210.177.77.1 - tjhorn [Tue Aug 01 01:12:59 GMT+00:00 2000] "GET >/servlet/com.rawmart.Browse?id=BJDXWJG&level=90&lang=0&display=news&show=news >HTTP/1.0" 200 - >210.177.77.1 - tjhorn [Tue Aug 01 01:13:21 GMT+00:00 2000] "GET >/servlet/com.rawmart.Browse?id=BJDXLCY&level=90&lang=0&display=news&show=news >HTTP/1.0" 200 - > >So ALL files are called Browse, but the CGI parameters tell what's going >on. > >I thought (hoped really), that these lines will do: > >ARGSINCLUDE /servlet/com.rawmart.Browse >SEARCHENGINE /servlet/com.rawmart.Browse* level >SEARCHENGINE *Browse* lang >SEARCHENGINE *Browse search > >Will do a report by level, lang and search. But it only says: > >./analog: Warning R: Turning off empty Search Query Report >./analog: Warning R: Turning off empty Search Word Report > >Oh yes, I have >SEARCHWORDFLOOR 1r >SEARCHQUERYFLOOR 1r >SEARCHQUERY ON >SEARCHWORD ON >SEARCHQUERYCOLS R >SEARCHWORDCOLS R > >What do I do wrong??? Mille mille gracie!!!! Michael, I forward the whole message to the Analog help list because strange things are happening! Here is a query made via AltaVista on an Apache server, stripped from one of my sites: 212.209.116.100 - - [18/Dec/1999:11:19:36 +0100] "GET /index.html HTTP/1.1" 200 947 "http://www.altavista.com/cgi-bin/query?pg=q&sc=on&q=villa+faraldi&kl=XX&stype=stext&search.x=35&search.y=8" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)" As you can see, the query is into the referrer. I try to modify the log to "cheat" Analog, in this way: 210.177.77.1 - tjhorn [Tue Aug 01 01:12:20 GMT+00:00 2000] "GET /" "/servlet/com.rawmart.Browse?level=1262&lang=0&show=news&display=forSale HTTP/1.0" 200 - using this LOGFORMAT: LOGFORMAT (%S - %u [%j %M %d %h:%n:%j %j %Y] "%j %r"%w"%f %j" %c %j) and adding all this stuff to the configuration: FILEINCLUDE * PAGEINCLUDE * ARGSINCLUDE * REFARGSINCLUDE * SEARCHWORDINCLUDE * SEARCHWORDFLOOR 0r SEARCHWORDCOLS R SEARCHQUERYINCLUDE * SEARCHQUERYFLOOR 0r SEARCHQUERYCOLS R REQINCLUDE * REQFLOOR 0R REQCOLS R REQARGSFLOOR 0R REFINCLUDE * REFREPINCLUDE * REFFLOOR 0R REFARGSFLOOR 0R If I run Analog using just your 5 lines, I don't see the referrer report. I try to add a "http://rawmart.com" before "/servlet/", and it goes into referrer report, showing just the "level" query. I think you can't have more than a query in a single line, but it's almost easy to write a filter to count multiple parameters. However the easiest way will be to add counters directly in the CGI! Bye! Marco Bernardini ------------------------------------------------------------------------ This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/[email protected]/ ------------------------------------------------------------------------
