Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Extrasection: count specific page hits

2012-12-18
2012-12-18
  • Diego Spano
    Diego Spano
    2012-12-18

    Hi.

    I have a site with spanish and english interfaces. I would like to get the number of hits to the english home page. The following line in my Apache log is an access example to the english home page:

    ....... "GET /gsdl/cgi-bin/library.cgi?l=en HTTP/1.1" 200 31503 "-" " .......

    So, I defined the following extra section:

    ExtraSectionName4="Home english"
    ExtraSectionCodeFilter4="200 304"
    ExtraSectionCondition4="URL,\/gsdl\/cgi-bin\/library.cgi\?l=en"
    ExtraSectionFirstColumnTitle4="Page"
    ExtraSectionStatTypes4=HBL
    ExtraSectionAddAverageRow4=0
    ExtraSectionAddSumRow4=1
    MaxNbOfExtra4=50
    MinHitExtra4=1

    But I get 0 hits. I tried escaping the "=" and nothing. What is wrong?

    Thanks a lot.

    Diego