diff --git a/config/apache/standardebooks.org.conf b/config/apache/standardebooks.org.conf index 890f64ab..51413350 100644 --- a/config/apache/standardebooks.org.conf +++ b/config/apache/standardebooks.org.conf @@ -165,6 +165,9 @@ Define domain standardebooks.org # Favicon rewrites RewriteRule ^/(apple-touch|android-chrome|favicon|mstile|safari-pinned|browserconfig|manifest)([^/]+)$ /images/favicons/$1$2 [L] + # Redirect tools + RewriteRule ^/tools/?$ https://github.com/standardebooks/tools [R=302,L] + # Redirect latest version of the manual RewriteRule ^/manual/latest(.*) /manual/index.php?url=$1 [L] diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index 14331f75..c7e44e2b 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -164,6 +164,9 @@ Define domain standardebooks.test # Favicon rewrites RewriteRule ^/(apple-touch|android-chrome|favicon|mstile|safari-pinned|browserconfig|manifest)([^/]+)$ /images/favicons/$1$2 [L] + # Redirect tools + RewriteRule ^/tools/?$ https://github.com/standardebooks/tools [R=302,L] + # Redirect latest version of the manual RewriteRule ^/manual/latest(.*) /manual/index.php?url=$1 [L]