httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Apache redirection using http response headers
Date Sat, 11 Jun 2016 16:25:19 GMT
On Sat, Jun 11, 2016 at 11:50 AM, sad man <asadxflow@gmail.com> 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 apache page is shown). Is there anything else I need to do so that
> the browser receives a http response from my server and automatically
> changes the http request to https?
>

Remove the first two and just redirect.
‚Äč

-- 
Eric Covener
covener@gmail.com

Mime
View raw message