On Sat, Jun 11, 2016 at 11:50 AM, sad man wrote:
> Header set Location https://www.example.com/
> Header set X-Forwarded-Proto: https
> Header set Strict-Transport-Security "max-age=180; includeSubdomains"
>
> Although the server receives a the headers I set there is no redirection
> (default apa
I want to force the user browser to use https URL when accessing my server
(even if the user enters http URL). I have done redirections using
"redirect" & "rewrite" but would also like to use this method.
I load the headers module and add the following to
my /etc/apache/sites-enabled/example.conf