Hello,
Guckst Du nach:
%{SERVER_PROTOCOL}
Nein, das nicht – da steht nur HTTP/1.1 drin.
Siccher?
Ich habe es jetzt nicht extra ausprobiert, aber dann sollten wir den Apache-Leuten mal einen Tipp für ihre Doku geben.
Or, for example, to redirect a portion of your site to HTTPS, you might do the following:
<If "%{SERVER_PROTOCOL} != 'HTTPS'">
Redirect /admin/ https://www.example.com/admin/
</If>
If, for whatever reason, you still want to use mod_rewrite - if, for example,
you need this to work with a larger set of RewriteRules - you might use one
of the recipes below.
Liebe Grüße aus dem schönen Oberharz
Tom vom Berg