From 75a9ec8796b5fdb7ea5da46bf3423ff0532d2bd0 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 16 Jan 2018 18:19:34 -0800 Subject: [PATCH] remove ifmod rewrite --- certbot-apache/certbot_apache/http_01.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/certbot-apache/certbot_apache/http_01.py b/certbot-apache/certbot_apache/http_01.py index f2b003746..6c9fe65ef 100644 --- a/certbot-apache/certbot_apache/http_01.py +++ b/certbot-apache/certbot_apache/http_01.py @@ -10,10 +10,8 @@ class ApacheHttp01(common.TLSSNI01): """Class that performs HTTP-01 challenges within the Apache configurator.""" CONFIG_TEMPLATE22 = """\ - - RewriteEngine on - RewriteRule /.well-known/acme-challenge/(.*) {0}/$1 [L,S=9999] - + RewriteEngine on + RewriteRule /.well-known/acme-challenge/(.*) {0}/$1 [L,S=9999] Order allow deny @@ -22,10 +20,8 @@ class ApacheHttp01(common.TLSSNI01): """ CONFIG_TEMPLATE24 = """\ - - RewriteEngine on - RewriteRule /.well-known/acme-challenge/(.*) {0}/$1 [END] - + RewriteEngine on + RewriteRule /.well-known/acme-challenge/(.*) {0}/$1 [END] Require all granted