On 8/14/06, Foster, Stephen (ASPIRE) <[EMAIL PROTECTED]> wrote:

RewriteCond %{HTTP_HOST}   !^online\.domain\.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteRule ^/(.*)         http://online.domain.com:%{SERVER_PORT}/$1 [R]
RewriteCond %{REQUEST_URI}  !^/heartbeat/heartbeat.htm
RewriteCond %{REQUEST_URI}  !^/server-status
RewriteCond %{SERVER_PORT}  !^443$
RewriteRule ^/(.*)$ https://%{SERVER_NAME}/home [R,L]

This works mostly right and will serve the non-secure URL's properly,
however they are then continuing on to process the rule for 80->443 , but
not actually re-directing the browser, but does appear in the access logs.
Any help on the right way forward for this would be great.

Hmmm... Can you reread that last paragraph again.  It doesn't make any
sense to me and is grammatically very ambiguous.  Exactly what problem
are you having?  Exactly what do the requests look like, and exactly
what do you see in the access log and rewrite log?

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to