Hi there,
I am trying to figure out a simple way to write a
flag into the access log. This flag should state
wether a request has been treated locally or wether
it has been proxied/forwarded to a backend server.
So far I arrived with
LogFormat "... %{proxyflag}e ..." extended
SetEnv proxyflag "L"
RewriteEngine On
RewriteRule /(backends/.*) http://localhost:8080/$1
[proxy,ENV=proxyflag:P,last]
I am not particulary fond of this rewriterule extension.
So if there is a simpler way to extract the information,
I would appreciate any hint.
have a good weekend everybody,
Christian
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]