conditional logging

Discussion in 'Apache' started by alluoshi, Apr 30, 2009.

  1. #1
    Hi, I need to log only the requests that contain the word "apple" in their URL.
    I tried SetEnvIf Request_URI "apple" but it didn't work. It didn't log anything. How can I fix this?
     
    alluoshi, Apr 30, 2009 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How exactly do you intend on logging these hits?

    a little but more environment details would be good.
     
    SSANZ, May 2, 2009 IP