[Letsencrypt-devel] Bug#848224: Bug#848224: dehydrated-apache2: does not handle .well-known directory hidden by mod_rewrite
IOhannes m zmölnig (Debian/GNU)
umlaeute at debian.org
Fri Dec 16 22:12:50 UTC 2016
On 12/15/2016 06:03 PM, Mattia Rizzolo wrote:
>> Unfortunately it had no effect on my system: accessing
>> /.well-known/acme-challenge/ via my webserver would just give me a 404 page.
>> Now, my webserver has the following characteristics
>> - multiple VirtualHosts
>> - use of mod_rewrite to do complex routing (in virtually all VirtualHosts).
> where do you configure the virtualhosts? If you have them on
> /etc/apache2/sites-enabled those should not conflict and the conf this
> package ships would be honored (I think?!).
the vhosts are configured via /etc/apache2/sites-enabled, and i don't
think there is a conflict per se.
but i think that the mod_rewrite somehow cancels the conf from
i probably should add, that mod_rewrite is rewriting the entire page
(apache2 is the front-end to a plone CMS; for vhost support on the CMS
side, i need complex proxying/rewriting capabilities such as offerend by
> In my systems I have a lot of virtulhosts too (although I don't have
> that many rewrite rules) and everything works.
>> RewriteRule ^/\.well-known/acme-challenge/ - [L]
>> Of course I would prefer a solution that would fix this in a central place
>> However, my feeble (and short-lived) attempts did not have any effect.
> Have you tried adding that line to
that was precisely my unsatisfying and "feeble attempt" to fix it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 866 bytes
Desc: OpenPGP digital signature
More information about the Letsencrypt-devel