api-site/www/static/.htaccess
Jay Faulkner 91302a622f Use in-tree baremetal api-ref rather than WADL
The api-ref docs in the ironic tree are more up to date, and should be
linked to instead of the existing wadl docs. Redirect all requests for
these docs into the new location.

Additionally, remove the outdated, incorrect WADL based docs from the
tree.

Change-Id: I693560990abe2f63705406d14000c917950647e7
2016-06-08 15:39:57 -07:00

13 lines
691 B
ApacheConf

# Redirect for the new file name for complete reference page
redirect 301 /api-reference.html /api-ref.html
redirect 301 /api-specs.html /api-ref-guides.html
# Redirect Compute API reference v3 to v2.1
redirect 301 /api-ref-compute-v3.html /api-ref-compute-v2.1.html
# Redirect Compute API reference v2.0 to v2.1
redirect 301 /api-ref-compute-v2.html /api-ref-compute-v2.1.html
redirect 301 /api-ref-compute-v2-ext.html /api-ref-compute-v2.1.html
# Redirect plural databases file name to database
redirect 301 /api-ref-databases-v1.html /api-ref-database-v1.html
# Redirect WADL-based Bare Metal API docs to in-tree docs
redirect 301 /api-ref-baremetal-v1.html /api-ref/baremetal/index.html