xref: /third_party/EGL/.htaccess (revision 02f4aeb0)
1RewriteEngine on
2
3# Avoid redirect loops
4RewriteCond %{ENV:REDIRECT_STATUS} 200
5RewriteRule ^ - [L]
6
7# Old versioned-by-date EGL specs redirected to the single per-version copy
8RewriteRule ^specs/eglspec.1.1.02.pdf https://www.khronos.org/registry/EGL/specs/eglspec.1.1.pdf [L,R=301]
9RewriteRule ^specs/eglspec.1.4.([0-9]+).pdf https://www.khronos.org/registry/EGL/specs/eglspec.1.4.pdf [L,R=301]
10RewriteRule ^specs/eglspec.1.4.withchanges.([0-9]+).pdf https://www.khronos.org/registry/EGL/specs/eglspec.1.4.withchanges.pdf [L,R=301]
11
12# RewriteRule ^xhtml/(.*)\.xml https://www.khronos.org/opengles/sdk/docs/man3/html/$1.xhtml [L,R=301]
13