102f4aeb0Sopenharmony_ciRewriteEngine on
202f4aeb0Sopenharmony_ci
302f4aeb0Sopenharmony_ci# Avoid redirect loops
402f4aeb0Sopenharmony_ciRewriteCond %{ENV:REDIRECT_STATUS} 200
502f4aeb0Sopenharmony_ciRewriteRule ^ - [L]
602f4aeb0Sopenharmony_ci
702f4aeb0Sopenharmony_ci# Unlike the OpenGL ES and OpenGL reference pages, we're not keeping
802f4aeb0Sopenharmony_ci# old versions of the EGL man pages around. Just redirect links to
902f4aeb0Sopenharmony_ci# egl/sdk/docs/man/xhtml/*.html to the new HTML 5 pages in html/*.xhtml.
1002f4aeb0Sopenharmony_ci
1102f4aeb0Sopenharmony_ciRewriteRule ^xhtml/$ https://www.khronos.org/registry/egl/sdk/docs/man/ [L,R=301]
1202f4aeb0Sopenharmony_ciRewriteRule ^xhtml/index.html https://www.khronos.org/registry/egl/sdk/docs/man/ [L,R=301]
1302f4aeb0Sopenharmony_ciRewriteRule ^xhtml/(.*)\.html https://www.khronos.org/registry/egl/sdk/docs/man/html/$1.xhtml [L,R=301]
14