Blocked Access to Source Code Repositories

If you were automatically directed to this page when you tried to view another page, you tried to view the contents of a /.git/, /.svn/ or similar source code directory.

Direct access to the contents of these directories is a security risk and blocked by default.

Can a site owner override this restriction?

If you’re the owner of a site hosted with our company, and you want to allow this even though it can cause security issues, you can add the following lines to a .htaccess file at the top level of your site:

<If "%{REQUEST_URI} =~ /\.(git|svn)/">
  Require all granted
</If>

If you have any trouble, you can contact us for assistance and we’ll help.