diff --git a/.htaccess b/.htaccess index 5695ec7..f02ae30 100644 --- a/.htaccess +++ b/.htaccess @@ -1,2 +1,8 @@ -RewriteEngine on +Options +SymLinksIfOwnerMatch +RewriteEngine On RewriteRule ^numpy(/.*) https://numpy.org/doc/stable$1 [R=permanent] +# See https://github.com/scipy/scipy/issues/14267 +Redirect 301 /scipy/reference/objects.inv /scipy/objects.inv +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule . /index.html [L]