Is there a configuration parameter I can set in the global configuration to disable redirects in all virtual hosts?

I've got a server with a bunch of virtual hosts with varying configurations, many of which are redirecting Letsencrypt acme-challenge requests. This causes the Letsencrypt certification to fail.

Rather than going into each virtual host to disable the redirect, I'd like to configure apache2 to disable all redirects globally.

  • Sounds like a bandaid... not a fix. Take a look at RewriteRule ^\.well-known\/acme-challenge\/ . – Simon Hayter Dec 16 '18 at 0:29

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.