forked from KhronosGroup/OpenGL-Refpages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htaccess
More file actions
18 lines (12 loc) · 673 Bytes
/
.htaccess
File metadata and controls
18 lines (12 loc) · 673 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
RewriteEngine on
# Avoid redirect loops
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
# Ancient redirect for GL page which aliases two commands. Should do this at the file level instead.
RewriteRule ^gl4/html/glEndQuery.xhtml$ /registry/OpenGL-Refpages/gl4/html/glBeginQuery.xhtml [L,R=301]
# The remaining redirects may be pointless at this time
# Redirect queries against the old GLSL-specific directory (e.g. cached
# links) to the ES 3.1 HTML5 pages.
RewriteRule ^manglsl/xhtml/(.*)\.xml /registry/OpenGL-Refpages/es3.1/html/$1.xhtml [L,R=301]
# Renamed GL 'man' to 'man2' directory
RewriteRule ^man/(.*) /registry/OpenGL-Refpages/gl2.1/$1 [L,R=301]