How do I change timeout settings when apache redirects urls?

Discussion in 'Apache' started by apachejunkie, Aug 3, 2010.

  1. #1
    Hi

    we use Apache as a front end server. For some requests, Apache serves as a proxy and passes on the request to a backend server. Is there a way to set the timeout for the connection between Apache and the backend server? If the backend server does not respond in 5 sec, we want Apache to return 504 gateway timeout to the client.

    Thanks in advance!
     
    apachejunkie, Aug 3, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Have you tried ProxyTimeout 5 ?
     
    tolra, Aug 5, 2010 IP