logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to capture proxypass response time??
Author
psd_mpl



Joined: 15 Jul 2016
Posts: 4
Location: Bangalore

PostPosted: Fri 19 Aug '16 7:47    Post subject: How to capture proxypass response time?? Reply with quote

%t and %d are the tokens in apache logs for response time . Is there any way to get the response time ??
My idea is to pass response time as variable in error document redirection .


</>
ErrorDocument /test.py?response_time= %t or %d
<proxypass>....</proxypass>
<proxyreverse>....</proxyreverse>
</>


Any kind off alternative solution will accepted Smile
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 29 Aug '16 12:30    Post subject: Reply with quote

There isn't an option see

https://httpd.apache.org/docs/2.4/custom-error.html#variables

Why don't you use internal python functions to get the current time?
Back to top


Reply to topic   Topic: How to capture proxypass response time?? View previous topic :: View next topic
Post new topic   Forum Index -> Apache