-
Notifications
You must be signed in to change notification settings - Fork 9
/
.htaccess
20 lines (16 loc) · 951 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# So specs/1.3-extensions/man/html/ lists all the refpages
Options +Indexes
RewriteEngine on
# Avoid redirect loops
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
RewriteBase /vulkan/
# Temporary redirect for temporary Vulkan Documentation Project URL
RewriteRule ^site/?(.*)$ https://docs.vulkan.org/$1 [L,NC,R=301]
# Refpages and style guide / registry schema docs move to the latest Vulkan
# version at any time
RewriteRule ^specs/1.0/man/(.*)$ specs/1.3-extensions/man/$1 [L,R=301,NC]
RewriteRule ^specs/1.[12]-extensions/man/(.*)$ specs/1.3-extensions/man/$1 [L,R=301,NC]
RewriteRule ^specs/1.2-extensions/validation/validusage.json$ specs/1.3-extensions/validation/validusage.json
RewriteRule ^specs/1.[012]/styleguide.html$ specs/1.3/styleguide.html [L,R=301]
RewriteRule ^specs/1.[012]/registry.html$ specs/1.3/registry.html [L,R=301]