diff options
Diffstat (limited to 'engine-ocean/External/glew/auto/EGL-Registry/sdk/docs/man/.htaccess')
-rw-r--r-- | engine-ocean/External/glew/auto/EGL-Registry/sdk/docs/man/.htaccess | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engine-ocean/External/glew/auto/EGL-Registry/sdk/docs/man/.htaccess b/engine-ocean/External/glew/auto/EGL-Registry/sdk/docs/man/.htaccess new file mode 100644 index 0000000..578915b --- /dev/null +++ b/engine-ocean/External/glew/auto/EGL-Registry/sdk/docs/man/.htaccess @@ -0,0 +1,13 @@ +RewriteEngine on + +# Avoid redirect loops +RewriteCond %{ENV:REDIRECT_STATUS} 200 +RewriteRule ^ - [L] + +# Unlike the OpenGL ES and OpenGL reference pages, we're not keeping +# old versions of the EGL man pages around. Just redirect links to +# egl/sdk/docs/man/xhtml/*.html to the new HTML 5 pages in html/*.xhtml. + +RewriteRule ^xhtml/$ https://www.khronos.org/registry/egl/sdk/docs/man/ [L,R=301] +RewriteRule ^xhtml/index.html https://www.khronos.org/registry/egl/sdk/docs/man/ [L,R=301] +RewriteRule ^xhtml/(.*)\.html https://www.khronos.org/registry/egl/sdk/docs/man/html/$1.xhtml [L,R=301] |