mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
How to configure apache with existing vhost redirect/proxypass/AuthType rule? #328
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dragetd on GitHub (Apr 12, 2018).
Using the config as explained here: https://github.com/lukas2511/dehydrated/blob/master/docs/wellknown.md#apache-example-config
I am trying to set up the .well-known/acme-challenge to be available under every vhost. But one vhost has for example 'Redirect permanent / https://foo.bar/cms.
This config forces a redirect and breaks the config.
Then there is
AuthType Basic… which also breaks the setting. :(
The apache config explains how the later rules take predesence https://httpd.apache.org/docs/2.4/sections.html#merge-examples
Does anyone know how to get around this? I could write excluding-rules and adjust every vhost config. But this is anything but pretty. :(
@lukas2511 commented on GitHub (Apr 13, 2018):
Sorry but this is not a dehydrated bug-report so I'm closing this. Your best bet would be to look around on the Let's Encrypt community forums, other clients require very similar configuration so you might find some help over there.
@dragetd commented on GitHub (Apr 14, 2018):
True, but if there was some apache config option that would prevent it from being overwritten, it would be a great addition to the docs. :-) But I'll see what I can find out.