You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by gi...@apache.org on 2021/07/05 15:16:33 UTC
[sling-site] branch asf-site updated: Automatic website deployment
from
https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/205/
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new e69ae38 Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/205/
e69ae38 is described below
commit e69ae3893135cb26681e48397baf5d99e3e62f86
Author: jenkins <bu...@apache.org>
AuthorDate: Mon Jul 5 15:16:30 2021 +0000
Automatic website deployment from https://ci-builds.apache.org/job/Sling/job/modules/job/sling-site/job/master/205/
---
.htaccess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.htaccess b/.htaccess
index 3c6adb4..6a43b9e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,6 +24,9 @@ AddDefaultCharset utf-8
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
+# Prevent git folder from being downloaded
+RedirectMatch 404 /\.git
+
# Redirects for various historical pages
Redirect Permanent /downloads.html /downloads.cgi
Redirect Permanent /media.html /