# External links to preserve:
# http://www.reduce-algebra.com/documentation.htm
# http://reduce-algebra.com/docs/help/index.html
# http://www.reduce-algebra.com/docs/reduce.pdf
# http://www.reduce-algebra.com/reduce40.pdf
# http://www.reduce-algebra.com/grg32.htm
# http://reduce-algebra.sourceforge.net/manual/manual-pdf.html

Redirect "/docs" "/reduce38-docs"
Redirect "/grg32.htm" "/grg32/grg32.php"
Redirect "/manual/manual-pdf.html" "/manual/manual.html"

# Redirect "/documentation.htm" "/documentation.php"
# Redirect "/license.htm" "/license.php"
# Must *not* match .html here!
RedirectMatch "/(.*)\.htm$" "/$1.php"

DirectoryIndex index.php index.html
Options +Indexes

AddType application/wasm .wasm

ErrorDocument 404 /include/ErrorDocument404.php
