I simply have a block in my httpd.conf for my redirects:

server "example.com" {
        listen on $ext_if port 80
        alias "www.example.com"
        block return 301 "https://example.com/";
}

On Fri, Mar 2, 2018 at 7:40 AM, Solène Rapenne <sol...@perso.pw> wrote:

> Le 2018-03-02 15:33, Matt M a écrit :
>
>> Why not use a .htaccess redirect?
>>
>> https://www.sslshopper.com/apache-redirect-http-to-https.html
>>
>
> .htaccess file is a feature of Apache web server while we are
> talking about httpd.
>
>

Reply via email to