SetEnvIf - HOW to omit logging of dummy connections and local requests ?

Discussion in 'Apache' started by hans, Dec 5, 2007.

  1. #1
    below what I have done so far - I missed the point because it keeps logging ... any help appreciated:

    my system:
    SuSE Linux 10.2 - apache 2.2 - dedicated server - one host ( domain ) NO virtual hosts.
    my local IP for the requests to have logging omitted is: 88.198.14.45

    mod_setenvif seems loaded

    I have several ten thousands of local requests that I want to avoid being logged to access_log - the published methods does NOT work - it keeps on logging. I also have noted that others seem to have same problem and not yet found a solution.

    here what I have done / tested so far:

    and of course after EVERY change of apache config - I did a

    rcapache2 configtest
    rcapache2 extreme-configtest


    both above always OK!!

    then a

    rcapache2 restart
    always OK!

    but every below mentioned variation was without any effect! - may be I placed the 2 lines of code at the wrong file / wrong place / wrong syntax ?? but it basically is what all the posts across the globe show.

    1.
    I have tried all published variations - like

    I put this line into the SuSE-apache2 common config files:

    default-server.conf
    or
    httpd.conf
    or
    mod_log_config.conf

    to NO effect at all
     
    hans, Dec 5, 2007 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    hans, Dec 5, 2007 IP