We are providing an SVN repository under svn.example.org
. Now we want to add a Let's Encrypt certificate for that domain - however there is a problem now. Let's Encrypt verifies the domain by putting a file into a subfolder of that vhost (e.g. /.well-known/acme-challenge/…
). Let's Encrypt can't verify that file, since Apache is serving the SVN repository under svn.example.org
.
Now the question is, would it be possible to configure Apache, so that certain URLs are not served by the SVN repository? Currently the vhost config looks similar to this:
DocumentRoot /var/www/vhosts/svn.example.org/
<Location />
DAV svn
SVNParentPath /var/www/vhosts/svn.example.org/httpdocs/
AuthType Basic
AuthName "SVN"
AuthUserFile /auth/svn.passwd
Require valid-user
</Location>
I am not sure what I would have to do, so that a request to svn.example.org/.well-known/…
is served differently by Apache.