We have a situation like user can bookmark an URL through which they can login in just one click. Such URLs have passwords as plain text. for ex.
[
localhost...]
The requirement is not to log such GET requests when a param logonPassword is present in it.
I did something like below but it did not work..
RewriteEngine On
RewriteCond %{QUERY_STRING} !^logonPassword= [NC]
RewriteRule (.*) $1 [E=pwd:yes]
CustomLog logs/access.log common env=pwd
Any input?