blob: 0f2dc4de85bd92231fd7a19146b355f3a977aa78 [file] [log] [blame]
# NOTE: The source for this file is at site-author/content/.htaccess
# FIXME: The version-specific entries need to be updated after each release.
# FIXME: Do we still need this? See FOR-877
AddDefaultCharset UTF-8
AddType application/x-xpinstall .xpi
# Some old documents need special handling
RedirectMatch ^/mail-archives(.*) http://forrest.apache.org/mail-lists$1
RedirectMatch .*proposal-asf-publish.html http://people.apache.org/~crossley/proposal-asf-publish.html
RedirectMatch ^/0.7/events(.*) http://forrest.apache.org/events$1
RedirectMatch ^/docs\.html http://forrest.apache.org/versions/
RedirectMatch ^/build(.*) http://forrest.apache.org/dev/build$1
Redirect /plugins/0.8-dev http://forrest.apache.org/plugins/0.8
# Maintain some old URLs to point to current release
Redirect /docs/plugins http://forrest.apache.org/pluginDocs/plugins_0_90
# Some convenience URLs.
Redirect /docs/dev http://forrest.apache.org/docs_0_100
Redirect /pluginDocs/dev http://forrest.apache.org/pluginDocs/plugins_0_100
# Some special docs need to point to the development version
RedirectMatch ^/faq(.*) http://forrest.apache.org/docs_0_100/faq$1
RedirectMatch ^/docs/faq(.*) http://forrest.apache.org/docs_0_100/faq$1
RedirectMatch ^/changes(.*) http://forrest.apache.org/docs_0_100/changes$1
RedirectMatch ^/upgrading_010(.*) http://forrest.apache.org/docs_0_100/upgrading_010$1
RedirectMatch ^/docs_0_90/upgrading_010(.*) http://forrest.apache.org/docs_0_100/upgrading_010$1
Options -MultiViews
# Some convenience URLs.
Redirect /docs http://forrest.apache.org/docs_0_90
Redirect /howto http://forrest.apache.org/docs_0_90/howto
# Some moved documents
RedirectMatch ^/roles(.*) http://forrest.apache.org/tasks$1
# handle all DTDs etc.
<Files ~ "\.(dtd|mod)$">
ForceType application/xml-dtd
</Files>
<Files ~ "\.(pen|ent)$">
ForceType application/xml-external-parsed-entity
</Files>