Permalink
Browse files

add redirect for api

  • Loading branch information...
1 parent ec541d4 commit 44ce4fc0752eaf4026cbdf7053958691b2da1786 @martior martior committed Oct 23, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 conf/httpd.conf
View
@@ -3,10 +3,17 @@
#
# This file is normally included from the Apache HTTPD setup.
ServerAlias collective-docs.plone.org
+ServerAlias api.plone.org
RewriteEngine on
RewriteCond %{HTTP_HOST} ^collective-docs.plone.org
RewriteRule ^(.*)$ http://developer.plone.org$1 [R=permanent,L]
+
+RewriteCond %{HTTP_HOST} ^api.plone.org
+RewriteRule ^.*$ http://developer.plone.org/reference_manuals/external/plone.api/ [R=permanent,L]
+
+
+
RewriteRule ^/en/latest(.*)$ http://developer.plone.org$1 [R=permanent,L]
DocumentRoot /var/www/developer.plone.org/var/public_html

0 comments on commit 44ce4fc

Please sign in to comment.