File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments