简体   繁体   中英

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?

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

BrowserMatch "iOS \d\." nokeepalive

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM