Move .htaccess to assets folder
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/3fa2c566 Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/3fa2c566 Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/3fa2c566 Branch: refs/heads/master Commit: 3fa2c566523ba3c939dfb5826c3f1c0c8b818bda Parents: 50dc965 Author: Bertrand Delacretaz <bdelacre...@apache.org> Authored: Tue Jun 20 16:31:12 2017 +0200 Committer: Bertrand Delacretaz <bdelacre...@apache.org> Committed: Tue Jun 20 16:31:12 2017 +0200 ---------------------------------------------------------------------- assets/.htaccess | 8 ++++++++ content/.htaccess | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/3fa2c566/assets/.htaccess ---------------------------------------------------------------------- diff --git a/assets/.htaccess b/assets/.htaccess new file mode 100644 index 0000000..e63d607 --- /dev/null +++ b/assets/.htaccess @@ -0,0 +1,8 @@ +ErrorDocument 403 /errors/403.html +ErrorDocument 404 /errors/404.html + +Redirect Permanent /downloads.html /downloads.cgi +Redirect Permanent /media.html / +Redirect Permanent /plugins.html / +Redirect Permanent /documentation/the-sling-engine/eventing-and-jobs.html /documentation/bundles/apache-sling-eventing-and-job-handling.html +Redirect Permanent /documentation/bundles/scripting/scripting-sightly.html /documentation/bundles/scripting/scripting-htl.html http://git-wip-us.apache.org/repos/asf/sling-site/blob/3fa2c566/content/.htaccess ---------------------------------------------------------------------- diff --git a/content/.htaccess b/content/.htaccess deleted file mode 100644 index e63d607..0000000 --- a/content/.htaccess +++ /dev/null @@ -1,8 +0,0 @@ -ErrorDocument 403 /errors/403.html -ErrorDocument 404 /errors/404.html - -Redirect Permanent /downloads.html /downloads.cgi -Redirect Permanent /media.html / -Redirect Permanent /plugins.html / -Redirect Permanent /documentation/the-sling-engine/eventing-and-jobs.html /documentation/bundles/apache-sling-eventing-and-job-handling.html -Redirect Permanent /documentation/bundles/scripting/scripting-sightly.html /documentation/bundles/scripting/scripting-htl.html