diff options
author | github-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com> | 2024-03-19 02:01:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 02:01:17 +0000 |
commit | 0f8d0e3cfdbd9b11b2357ed3e1a11375e7af8e80 (patch) | |
tree | 48b88b3b3b3a522a90c38b2178363a163a32f2ee /glew/auto/EGL-Registry/sdk/docs/man/.htaccess |
Initial commit
Diffstat (limited to 'glew/auto/EGL-Registry/sdk/docs/man/.htaccess')
-rw-r--r-- | glew/auto/EGL-Registry/sdk/docs/man/.htaccess | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/glew/auto/EGL-Registry/sdk/docs/man/.htaccess b/glew/auto/EGL-Registry/sdk/docs/man/.htaccess new file mode 100644 index 0000000..578915b --- /dev/null +++ b/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] |