как установить любой browser, чтобы он не поддерживался в apache httpd.conf

У меня есть следующий параметр для IE в моем httpd.conf:

BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 

Я хочу применить это ко всем requestам, которые попали на мой server.

Мой раздел httpd.conf, который работает с продолжением, выглядит следующим образом:

 # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # Тайм-аут: количество секунд до приема и отправки тайм-аута. # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 Тайм-аут 5 # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # KeepAlive: разрешать или не разрешать постоянные соединения (больше, чем # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # один request на connection). # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 Установите значение «Выкл.» Для деактивации. # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 KeepAlive Off # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # MaxKeepAliveRequests: максимальное количество requestов, разрешающих # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # во time постоянного соединения. # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 Установите значение 0, чтобы разрешить неограниченное количество. # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # Мы рекомендуем оставить это число высоко, для максимальной производительности. # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 MaxKeepAliveRequests 1 # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # KeepAliveTimeout: количество секунд ожидания следующего requestа от # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 # тот же клиент в том же соединении. # # Timeout: The number of seconds before receives and sends time out. # Timeout 5 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 1 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 1 

Как мне это сделать?

Если вы хотите отkeyить поддержку HTTP для всех browserов, просто установите KeepAlive в глобальном масштабе .

Нет смысла тратить ресурсы на BrowserMatch если вам это не нужно, но если вы действительно хотите использовать BrowserMatch, просто создайте регулярное выражение, которое соответствует чему угодно. ".*" – хороший.

  • Что является узким местом моего serverа Apache?
  • источник «python-program» в fileе конфигурации apache2
  • С установленным PHP Apache (сравнительно) медленно работает при статическом контенте?
  • Как настроить fileы конфигурации websiteа Apache
  • Как проверить значение LimitRequestFieldSize в Apache 2.4
  • Наследование в конфигурации apache2
  • Сделать apache доступным только через 127.0.0.1, возможно ли это?
  • Apache HTTPd - не работает rotatelogs
  • Можете ли вы использовать переменную окружения windows в apache conf?
  • Как предотвратить ошибки ERR_CONNECTION_REFUSED после перезапуска Apache
  • Многоuserская защита хостинга - не гарантируйте, что scripting не могут выполняться как user Apache, а только как user каждого веб-websiteа
  • Давайте будем гением компьютера.