Skip to content

HTTP -> HTTPS #9

@curtchan

Description

@curtchan

should provide http -> https rewrite cond if these mismatch

input:
http://example.org/example-path/ https://example.org/example-path/

current output:
RewriteRule ^example\-path/$ /example\-path/? [L,R=301]

expected output:

RewriteCond %{HTTPS} !=on
RewriteRule ^example\-path/$ https://example.org/example\-path/? [L,R=301]

Maybe it should be as opt-in feature for the RewriteCond part, but the expected output RewriteRule definitely requires fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions