httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Bullock" <mbull...@root9.com>
Subject [users@httpd] Redirect to HTTPS using Load Balancer/SSL Offload
Date Sat, 24 Nov 2007 00:17:20 GMT
I was hoping someone could help me with a redirect problem.  We are
using a load balancer in front of our apache22 servers that also
provides SSL offloading.  Apache only runs on port 80, and doesn't know
anything about 443.  When a client asks for a specific page, I want to
redirect them to the secure equivalent.  Here is the current rule I am
using, along with the rewrite log error:


RewriteCond %{REQUEST_URI} ^/dir1/dir2/file1\.php$
RewriteRule ^.*$ https://www.doman.com%{REQUEST_URI} [R=301,L]


75.83.2.48 - - [23/Nov/2007:15:50:57 --0800]
[www.doman.com/sid#5555557f0ec8][rid#55555618f7f8/initial] (2)
explicitly forcing redirect with
https://www.doman.com/dir1/dir2/file1.php
75.83.2.48 - - [23/Nov/2007:15:50:57 --0800]
[www.doman.com/sid#5555557f0ec8][rid#55555618f7f8/initial] (1) escaping
https://www.doman.com/dir1/dir2/file1.php for redirect
75.83.2.48 - - [23/Nov/2007:15:50:57 --0800]
[www.doman.com/sid#5555557f0ec8][rid#55555618f7f8/initial] (1) redirect
to https://www.doman.com/dir1/dir2/file1.php [REDIRECT/301]
75.83.2.48 - - [23/Nov/2007:15:50:58 --0800]
[www.doman.com/sid#5555557f0ec8][rid#555555f3a3c8/initial] (2) init
rewrite engine with requested uri /dir1/dir2/file1.php
75.83.2.48 - - [23/Nov/2007:15:50:58 --0800]
[www.doman.com/sid#5555557f0ec8][rid#555555f3a3c8/initial] (2) rewrite
'/dir1/dir2/file1.php' -> 'https://www.doman.com/dir1/dir2/file1.php'


Any help would be greatly appreciated.

Matt


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message