.htaccess 637 B

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