On Nov 23, 2007, at 10:06 PM, Matt Bullock wrote:
I was hoping there would be a way to let apache know the url beingrequested was "https://...". Here is a log when I navigate to a httpspage:
There is. Here's what you do:Set up two virtual hosts. One to catch unencrypted port 80 traffic, the other one to catch offloaded traffic from the LB on a different port (could be 81, but not 80).
The port 80 virtualhost gets the Redirect rule. The port 81 virtualhost does NOT get the Redirect rule.This way you separate traffic between unencrypted and SSL (decrypted by the Barracuda).
If your "ssl" virtual host needs to construct redirects to itself, you might tell it:
ServerName https://your.host.name:443which makes every module or back-end that obtains the request "scheme" by running the ap_hook_scheme handler chain do the right thing. This works as of httpd 2.2.3.
S. -- Sander Temme sctemme@xxxxxxxxxx PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF
Attachment:
smime.p7s
Description: S/MIME cryptographic signature