Postings by MarkusG

Forward Proxy, RewriteRules and connection keep-alive


I am using Apache 2.4.10 as a Forward Proxy for local clients running
on the same machine. Apache listens on a dedicated port and local
clients can connect to it using plain HTTP.

Apache 2.4: SSL handshake not working correct for WebSockets?


I am using Apache as a "WebSocket Relay" that allows local clients to
connect to local ​Apache using "ws://" and Apache then maps this to
"wss://" and passes the request on to the actual serving backend.

I have defined a Virtual Host for this:
SSLProxyEngine On
ProxyRequests Off

<Proxy "*">
Order deny,allow
Deny from all
Allow from

ProxyPass /websocket/ wss://

So a local request to Apache for ws://​​websoc

Apache 2.4: Proxy certificate configuration question


when Apache is configured as a WebServer I can configure the private
key and the certificate of the server separately using
SSLCertificateFile and SSLCertificateKeyFile.

When configuring Apache as an HTTP Proxy (Reverse Proxy or Forward
Proxy) it seems I can only configure the proxy private key and
certificate if they are combined into a single PEM file with

Is that understanding corrector is there also a way to defined key and
certificate for an HTTP Proxy configuration separately?


Apache as HTTP Proxy: GZIP compression handling configuration question


I am using Apache (2.4.10) as an HTTP Proxy with two virtual hosts
on different ports:
- Forward Proxy
- Reverse Proxy

Depending on the use case applications either use the Forward Proxy or the
Reverse Proxy.

Now I want to make sure that for both virtual hosts the proxy does handles
content compression (using gzip).