From 3a3c62426c890a1264734991c05da44646d3e935 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 11 Feb 2016 14:32:49 -0800 Subject: [PATCH] Add links to MachO specification; simplify links .htaccess Add links to the Apple MachO specification Avoid duplicated info by using AliasMatch in links/.htaccess --- abi/.htaccess | 2 ++ links/.htaccess | 13 +++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) rewrite links/.htaccess (76%) diff --git a/abi/.htaccess b/abi/.htaccess index 509f045a..6bb2825d 100644 --- a/abi/.htaccess +++ b/abi/.htaccess @@ -6,3 +6,5 @@ Redirect /abi/win64 http://msdn.microsoft.com/en-us/library/7kcdt6fy.aspx Redirect /abi/unix http://github.com/hjl-tools/x86-psABI/wiki/X86-psABI/ Redirect /abi/unix64 http://github.com/hjl-tools/x86-psABI/wiki/X86-psABI/ Redirect /abi/unix32 http://github.com/hjl-tools/x86-psABI/wiki/X86-psABI/ +Redirect /abi/mac https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/MachORuntime/ +Redirect /abi/macho https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/MachORuntime/ diff --git a/links/.htaccess b/links/.htaccess dissimilarity index 76% index 2e522342..eb190dc0 100644 --- a/links/.htaccess +++ b/links/.htaccess @@ -1,8 +1,5 @@ -# -# Redirects to external websites, especially MSDN which seems to change URLs -# way too often... -# -Redirect /links/win64abi http://msdn.microsoft.com/en-us/library/7kcdt6fy.aspx -Redirect /links/unixabi http://github.com/hjl-tools/x86-psABI/wiki/X86-psABI/ -Redirect /links/unix64abi http://github.com/hjl-tools/x86-psABI/wiki/X86-psABI/ -Redirect /links/unix32abi http://github.com/hjl-tools/x86-psABI/wiki/X86-psABI/ +# +# Redirects to external websites, especially MSDN which seems to change URLs +# way too often... +# +AliasMatch ^/links/(.*)abi$ /abi/$1 -- 2.11.4.GIT