Saturday 17 August 2019

apache - Redirection from http to https is not working

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(/(.*))?$ https://%{HTTP_HOST}/$1 [R=301,L]



this is the command i use in my .htaccess file and when i type arion-software.co.uk it does not properly redirects.
any idea?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...