httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Bullock" <>
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 ^.*${REQUEST_URI} [R=301,L] - - [23/Nov/2007:15:50:57 --0800]
[][rid#55555618f7f8/initial] (2)
explicitly forcing redirect with - - [23/Nov/2007:15:50:57 --0800]
[][rid#55555618f7f8/initial] (1) escaping for redirect - - [23/Nov/2007:15:50:57 --0800]
[][rid#55555618f7f8/initial] (1) redirect
to [REDIRECT/301] - - [23/Nov/2007:15:50:58 --0800]
[][rid#555555f3a3c8/initial] (2) init
rewrite engine with requested uri /dir1/dir2/file1.php - - [23/Nov/2007:15:50:58 --0800]
[][rid#555555f3a3c8/initial] (2) rewrite
'/dir1/dir2/file1.php' -> ''

Any help would be greatly appreciated.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message