| Description: | HTTP support module formod_proxy |
|---|---|
| Status: | Extension |
| Module Identifier: | proxy_http_module |
| Source File: | mod_proxy_http.c |
This modulerequires the service ofmod_proxy. It provides the features used for proxying HTTP and HTTPS requests.mod_proxy_http supports HTTP/0.9, HTTP/1.0 and HTTP/1.1. It doesnot provide any caching abilities. If you want to set up a caching proxy, you might want to use the additional service of themod_cache module.
Thus, in order to get the ability of handling HTTP proxy requests,mod_proxy andmod_proxy_http have to be present in the server.
Do not enable proxying until you havesecured your server. Open proxy servers are dangerous both to your network and to the Internet at large.
In addition to the configuration directives that control the behaviour ofmod_proxy, there are a number ofenvironment variables that control the HTTP protocol provider. Environment variables below that don't specify specific values are enabled when set to any value.
RFC (the default) orSuppress. Earlier httpd versions would suppress HTTP interim (1xx) responses sent from the backend. This is technically a violation of the HTTP protocol. In practice, if a backend sends an interim response, it may itself be extending the protocol in a manner we know nothing about, or just broken. So this is now configurable: setproxy-interim-response RFC to be fully protocol compliant, orproxy-interim-response Suppress to suppress interim responses.mod_proxy_http creates the following request notes for logging using the%{VARNAME}n format inLogFormat orErrorLogFormat:
Copyright 2025 The Apache Software Foundation.
Licensed under theApache License, Version 2.0.