File: .htaccess

package info (click to toggle)
khronos-opengl-man4 1.0~svn33624-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,304 kB
  • sloc: xml: 93,066; makefile: 730; python: 627; javascript: 55; sh: 50; php: 4
file content (15 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
RewriteEngine on

# Avoid redirect loops
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]

# Send queries on the old XHTML Transitional man page links to the
# cached copies if IE <= 8 is being used.
RewriteCond %{HTTP_USER_AGENT} MSIE\ [5678]\. [NC]
RewriteRule ^xhtml/(.*)\.xml https://www.opengl.org/sdk/docs/man4/docbook4/xhtml/$1.xml [L,R=301]

# Send the same queries to the current HTML5 pages for other browsers
RewriteRule ^xhtml/(.*)\.xml https://www.opengl.org/sdk/docs/man4/html/$1.xhtml [L,R=301]

RewriteRule ^html/glEndQuery.xhtml https://www.opengl.org/sdk/docs/man4/html/glBeginQuery.xhtml [L,R=301]