i am using Apache2 and i have the following problem: since a few days we get wrong http requests

X.X.X.X - - [03/Sep/2019:08:41:24 +0200] "-e HEAD /" 400 1465 "-" "-"

every minute. We want to ignore these requests in our access.log. I already tried :

SetEnvIf Request_URI "^-e HEAD /" is-nolog=1
CustomLog ${APACHE_LOG_DIR}/access.log combined env=!is-nolog

but it has no affect.

Can you please help me ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.