Skip to content

Commit cda9243

Browse files
fixed issue 7
1 parent ac88770 commit cda9243

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.htaccess

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,16 @@ ErrorDocument 404 /404.html
33

44
# CSP permissions for grails.apache.org - https://issues.apache.org/jira/browse/INFRA-27297
55
# Ref https://docs.kapa.ai/integrations/understanding-csp-cors
6-
SetEnv CSP_PROJECT_DOMAINS "https://*.kapa.ai/ https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://hcaptcha.com https://*.hcaptcha.com"
6+
SetEnv CSP_PROJECT_DOMAINS "https://*.kapa.ai/ https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://hcaptcha.com https://*.hcaptcha.com"
7+
8+
# Legacy Documentation Redirects
9+
RedirectMatch 301 ^/docs-legacy-gorm/latest/.* https://grails.apache.org/docs/latest/grails-data/
10+
RedirectMatch 301 ^/docs-legacy-gorm/snapshot/.* https://grails.apache.org/docs/snapshot/grails-data/
11+
RedirectMatch 301 ^/docs-legacy-async/latest/.* https://grails.apache.org/docs/latest/guide/async.html
12+
RedirectMatch 301 ^/docs-legacy-async/snapshot/.* https://grails.apache.org/docs/snapshot/guide/async.html
13+
RedirectMatch 301 ^/docs-legacy-gsp/latest/.* https://grails.apache.org/docs/latest/guide/theWebLayer.html#gsp
14+
RedirectMatch 301 ^/docs-legacy-gsp/snapshot/.* https://grails.apache.org/docs/snapshot/guide/theWebLayer.html#gsp
15+
RedirectMatch 301 ^/docs-legacy-testing/latest/.* https://grails.apache.org/docs/latest/guide/testing.html
16+
RedirectMatch 301 ^/docs-legacy-testing/snapshot/.* https://grails.apache.org/docs/snapshot/guide/testing.html
17+
RedirectMatch 301 ^/docs-legacy-views/latest/.* https://grails.apache.org/docs/latest/guide/theWebLayer.html#gson
18+
RedirectMatch 301 ^/docs-legacy-views/snapshot/.* https://grails.apache.org/docs/snapshot/guide/theWebLayer.html#gson

0 commit comments

Comments
 (0)