Can't get HTTP to redirect to HTTPS

Discussion in 'General' started by ashraj98, Aug 29, 2015.

  1. ashraj98

    ashraj98 New Member

    I've tried redirecting my HTTP to my HTTPS many times to no avail. I've tried a multitude of Apache directives from the internet, and none of them have worked. The directives I have currently are
    RewriteEngine on
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
    It doesn't even seem like ISPConfig runs on my HTTP site. When I navigate to my site over HTTP, I will see the default Apache page "It works!". On HTTPS, everything works absolutely fine, my certificate works and all that. Help please?

Share This Page