Search code examples
apachecpanelkeep-alivewhm

How to disable Apache keep-alive only for iOS?


Is it possible to disable keep-alive mechanism in apache for only iOS clients through CPanel? I have found this question as a solution: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

But I cannot find the file setenvif.conf. How should I edit the setenvif.conf?


Solution

  • You won't need this exact conf-file. Just put it in your default server config:

    BrowserMatch "iOS \d\." nokeepalive