File: .htaccess

package info (click to toggle)
khronos-opengl-man4 1.0~svn27841-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 24,888 kB
  • ctags: 377
  • sloc: xml: 188,408; makefile: 1,153; python: 736; sh: 49; php: 7; sed: 2
file content (13 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
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]