DevHeads.net

Postings by MarkusG

Forward Proxy, RewriteRules and connection keep-alive

​​
Hello,

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?

​Hello,

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:
<VirtualHost 127.0.0.1:8888>
SSLProxyEngine On
ProxyRequests Off

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

ProxyPass /websocket/ wss://mywebsocket.org/
</VirtualHost>

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

Apache 2.4: Proxy certificate configuration question

Hello,

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
SSLProxyMachineCertificateFile.

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

Regards
Markus

Apache as HTTP Proxy: GZIP compression handling configuration question

Hello,

I am using Apache (2.4.10) as an HTTP Proxy with two virtual hosts
listening
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).