There are a few hints that the user is new to mod_rewrite and PCRE too: no
need to escape the '-' in an expression, not using a substring match with
the RewriteCond (or just anchoring it at the beginning), and you can match
^ instead of a wildcard. And for 301's, always test with curl to bypass
you
LogLevel rewrite:trace8 would help here.
On Sat, Feb 17, 2018 at 11:22 AM, David Mehler wrote:
> Hello,
>
> I'm trying to get apache 2.4 not to rewrite urls with
> .well-known/acme-challenge in them. I do not want these urls
> redirected to https but all other urls to do so. Everytime I think
> I
Hello,
I'm trying to get apache 2.4 not to rewrite urls with
.well-known/acme-challenge in them. I do not want these urls
redirected to https but all other urls to do so. Everytime I think
I've got this renewing a letsencrypt certificate fails.
If anyone sees a glaringly obvious error i'd appreci