mercredi 26 avril 2017

http url added to the https url when viewed

I have a strange problem. When I open my domain in SSL mode , the http url get appended to it. This is my http url This is my SSL url

** other url for https are opening normally , although CSS and images are not loaded. eg Login page

I am clueless whats going on. Please help

Edit : This is my .htaccess

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On
    RewriteCond %{HTTPS} on
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2pnKsdR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire