Skip to content

Commit 2b448f5

Browse files
committed
Fix openssl.com htaccess
Redirect works with prefixes. If only / should be redirected and not any sub-path, use RedirectMatch Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from openssl/openssl#81)
1 parent 8a1b933 commit 2b448f5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.htaccess.openssl.com

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- Apache -*-
2-
Redirect permanent / https://www.openssl.org/community/contacts.html
32
Redirect permanent /verifycd.html https://www.openssl.org/docs/fips/verifycd.html
3+
4+
RedirectMatch permanent "^/$" https://www.openssl.org/community/contacts.html
45
RedirectMatch permanent "^(.*)$" "https://www.openssl.org$1"

0 commit comments

Comments
 (0)