File:  [cvs.NetBSD.org] / htdocs / .htaccess
Revision 1.54: download - view: text, annotated - select for diffs
Sun Dec 8 15:51:00 2024 UTC (23 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: HEAD
.htaccess: Redirect to https://, not to http://, at other hosts.

It would be nice to use scheme-relative redirects, but I can't find a
way to make apache2 do those.

ErrorDocument 404 /errors/index.html
ErrorDocument 403 /errors/forbidden.html

# This path is referenced in INSTALL.{html,more,ps,txt} files, so redirect
# until 2.0.x is no longer supported.
Redirect seeother /Sites/net.html /mirrors/

# Ok, the web has now a large memory and references to info.html are
# not going away :-/
Redirect permanent /mirrors/torrents/info.html /mirrors/torrents/

Redirect seeother /bugathon /hackathon

# puffs got its own directory
Redirect /docs/misc/puffs.html /docs/puffs/
Redirect /docs/misc/rump.html /docs/puffs/rump.html

# Redirects for htdocs clean-up

# Misc/ has been moved to about/ and support/
Redirect /Misc/about.html /about/
Redirect /Misc/send-pr.html /support/send-pr.html
Redirect /Misc/query-pr.html /support/query-pr.html
Redirect /Misc/ /about/
Redirect /Misc /about/

# Goals/ has gone to about/
Redirect /Goals/index.html /about/goals.html
RedirectMatch /Goals/(.*).html /about/$1.html
Redirect /Goals/ /about/goals.html
Redirect /Goals /about/goals.html

# Security/ has gone to support/security/
# support lowercase security/ too as it's an obvious thing for users to type
Redirect /Security /support/security
Redirect /security /support/security

# Hardware/ has gone to support/hardware/
Redirect /Hardware /support/hardware

# Changes/ has gone to changes/
Redirect /Changes /changes

# Documentation/ has gone to docs/
Redirect /Documentation /docs

# Foundation/ has gone to foundation/
Redirect /Foundation /foundation

# MailingLists/ has gone to mailinglists/
Redirect /MailingLists /mailinglists

# Releases/ has gone to releases/
Redirect /Releases /releases

# Ports/ has gone to ports/
Redirect /Ports /ports

# guide/ has gone to docs/guide/
Redirect /guide /docs/guide/en/
# the above breaks on existing links, amend:
Redirect /docs/guide/en/en// /docs/guide/en/

# People/ has gone to people/
Redirect /People/Pages /people/pages
Redirect /People /people

# send /Gnats to https://gnats.NetBSD.org/summary/
Redirect /Gnats https://gnats.NetBSD.org/summary

# contrib/paypal.html has long since been merged to donations/
Redirect /contrib/paypal.html /donations/

# send "donate" to donations/
Redirect /donate /donations/

# we're using the wiki for the Google Summer of Code (GSoC) projects list now
Redirect /contrib/soc-projects.html https://wiki.NetBSD.org/projects/gsoc/

# docs/rump/ migrating to wiki
Redirect /docs/rump/index.html https://wiki.NetBSD.org/rumpkernel/

# Xen howto is in the wiki now
Redirect /ports/xen/howto.html https://wiki.NetBSD.org/ports/xen/howto/

# send top-level query-pr and send-pr to support/
Redirect /send-pr.html /support/send-pr.html
Redirect /query-pr.html /support/query-pr.html

CVSweb <webmaster@jp.NetBSD.org>