1

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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.