Bug: apache2 fail redirect for www.example.com (HTTPS)


#1

at the end of installation, I where asked for add redirecton to HTTPS

script show error and didn’t changed HTTP conf

here is my conf configuration

ServerName www.example.com ServerAlias example.com ServerAdmin petr.svec@*********
<FilesMatch "\.(woff|svg|ttf|eot|css|flv|gif|html|ico|jpg|js|pdf|png|swf|txt|xml)$"> 
    Header unset Last-Modified 
    Header set Access-Control-Allow-Origin "*.example.com"
</FilesMatch> 
AddHandler php5-fcgi .php 
Action php5-fcgi /usr/lib/cgi-bin/php5.external 
Alias /usr/lib/cgi-bin/ /var/www/www.example.com/ 
DocumentRoot /var/www/www.example.com 
<Directory /var/www/www.example.com> 
    Options -ExecCGI +FollowSymLinks -SymLinksIfOwnerMatch -Includes -Indexes -MultiViews 
    AllowOverride None 
</Directory> 
ErrorLog /dev/null 
# disable access log 
CustomLog /dev/null common 
KeepAliveTimeout 3 
MaxKeepAliveRequests 250 

vim: syntax=apache ts=4 sw=4 sts=4 sr noet

and bellow this is your script error

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Please choose whether HTTPS access is required or optional. x
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x Easy Allow both HTTP and HTTPS access to these sites x x
x x Secure Make all requests redirect to secure HTTPS access x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x < OK > x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Failed redirect for www.example.com x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Failed redirect for www.example.com x
x Unable to perform redirect for www.example.com x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Let’s Encrypt has already enabled redirection

IMPORTANT NOTES:

  • Congratulations! Your certificate and chain have been saved at
    /etc/letsencrypt/live/example.com-0001/fullchain.pem. Your cert will
    expire on 2016-02-11. To obtain a new version of the certificate in
    the future, simply run Let’s Encrypt again.
    root@intranet:~/letsencrypt#

#2

Is possible to get code that letsencrypt try to add to apache for redirection… I would like to do manually