Usage of SetEnvIf directive in Apache HTTPD with logical conditions.

Solution Unverified - Updated -

Issue

  • How to use SetEnvIf without using grep to filter messages as stated in https://access.redhat.com/solutions/58285 containing two conditions. - Fulfil the request of not logging in access log when Remote_Host is 10.10.10.10 and User_Agent contains monitoring-plugins

Environment

  • Red Hat Enterprise Linux 6.x, 7.x
    • httpd
  • JBoss Web Servers
    • 2.x, 3.x (httpd)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.