[BlueOnyx:21256] Re: problem creation of let's encrypt certificate when using .htaccess
PESJA A & A
info at pesja.nl
Tue Aug 15 13:53:38 -05 2017
Hi Maurice,
I tried your solution, but no luck. Then I tried the solution from Michael and that dit the trick:
RewriteRule ^(?!\.well-known(?:$|/)).* https://%{SERVER_NAME}/$0 [R=301,L]
Kind regards,
PESJA
-----Oorspronkelijk bericht-----
Van: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] Namens Maurice de Laat
Verzonden: dinsdag 15 augustus 2017 20:31
Aan: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Onderwerp: [BlueOnyx:21253] Re: problem creation of let's encrypt certificate when using .htaccess
Hi Pesja
On 15-08-17 20:22, PESJA A & A wrote:
> If not, what's the right content of the .htaccess file for a permanent
> redirect in combination of a working LE certificat.
I have this working without the problems you describe:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Kind regards
Maurice
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
More information about the Blueonyx
mailing list