Skip to Content
avatar image
Former Member

Force HTTPS on certain URLs and force HTTP for all others

Hi Experts,

We have a requirement of forcing few URL prefixes to HTTPS and rest all to be forced to HTTP. The former we could achieve easily using HTTP redirects, however to achieve the 2nd requirement we have configured the below parameter but this pushes even the HTTPS mandatory URL's also back to HTTP !!!!

icm/HTTP/redirect_X = PREFIX=/, FROM=*,FROMPROT=https, PROT=http,

Could someone please suggest how both the above requirements can be achieved ?

Thanks in Advance !!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 13, 2017 at 12:33 PM

    Hello Srikanth,

    I would say that your redirect parameter is working as expected.

    That parameter makes all URLs accessed through HTTPS to be redirected to HTTP.

    You need to use the PREFIX and FROM arguments to limit which URLs should be redirected.

    However, I would like to comment that having mixed protocols (some URLs accessed through HTTP, others through HTTPS) might cause issues.

    Why not perform the access to all URLs through HTTPS?

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded