On Sun, Sep 9, 2018 at 9:07 AM Jaap van Wingerde
<mailingli...@vanwingerde.nl> wrote:
>
> Users!
>
> ...
> Alias "/.well-known/acme-challenge/" "/var/run/acme/acme-challenge/"
> <Directory "/var/run/acme/acme-challenge">
>   AllowOverride None
> #  Options None
>   Options All +FollowSymLinks
>   Require all granted
> </Directory>
>
> RedirectPermanent / https://subdomain.domain.ext/

I would suggest wrapping it in <if> in 2.4 to restrict the Redirect.
It's a bit more tidy than a negative regex or switching to
mod_rewrite.
Some example expressions in an if are here:
https://httpd.apache.org/docs/2.4/expr.html#examples

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to