Htaccess File

geog-opensource/jamod/master/forrest/site-author/content/.htaccess

# 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_80

# Some convenience URLs.
Redirect /docs/dev http://forrest.apache.org/docs_0_90
Redirect /pluginDocs/dev http://forrest.apache.org/pluginDocs/plugins_0_90

# Some special docs need to point to the development version
RedirectMatch ^/faq(.*) http://forrest.apache.org/docs_0_90/faq$1
RedirectMatch ^/docs/faq(.*) http://forrest.apache.org/docs_0_90/faq$1
RedirectMatch ^/changes(.*) http://forrest.apache.org/docs_0_90/changes$1
RedirectMatch ^(.*)/upgrading_09(.*) http://forrest.apache.org/docs_0_90/upgrading_09$2

Options -MultiViews

# Some convenience URLs.
Redirect /docs http://forrest.apache.org/docs_0_80
Redirect /howto http://forrest.apache.org/docs_0_80/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>
Exit mobile version