[BlueOnyx:21251] problem creation of let's encrypt certificate when using .htaccess

PESJA A & A info at pesja.nl
Tue Aug 15 13:22:16 -05 2017


Hi All,
 
This is my problem:
- for several website I want an permanent redirect from http:// to https://
- fort hat purpose I use .htaccess with the folowin content;
====
RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R,L]
===
 
But when I want to create an certificate with Let's Encrypt It fails 
I knows fors ure it has to do with that .htaccess file. Because the creation of a Let's Encrypt certificate other domains (without an .htaccess) didn't fail and worked fine.
My assumption is that not only the creation of a LE certificate fails, but also the renewal of it, when placet the .htaccess file afterwards.
 
My Questions:
1)      Is the use of .htaccess not permitted withing BX (5209R) when using Let's Encrypt cerificates. 
2)      So, what alternative can I use for a permanent redirection from http to https.
3)      If not, what's the right content of the .htaccess file for a permanent redirect in combination of a working LE certificat.
 
Kind regards,
 
PESJA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20170815/8545d7e5/attachment.html>


More information about the Blueonyx mailing list