NEWS: Fix misindented bullet point
[libvirt.git] / .gitlab_pages_redirects
blob6ae6b270069d2e3c0a9552cef97db903e2d92e37
1 # Redirects to golang module pages
2 /libvirt-go /libvirt-go.html 200
3 /libvirt-go-xml /libvirt-go-xml.html 200
4 /go/libvirt /go/libvirt.html 200
5 /go/libvirtxml /go/libvirtxml.html 200
7 # Redirects to the download server
8 /sources/* https://download.libvirt.org/:splat 301
9 /ruby/download/* https://download.libvirt.org/ruby/:splat 301
10 /maven2/org/libvirt/* https://download.libvirt.org/maven2/org/libvirt/:splat 301
12 # Redirects to subproject pages
13 /ruby/* https://ruby.libvirt.org/:splat 301
14 /ocaml/* https://ocaml.libvirt.org/:splat 301
15 /php/* https://php.libvirt.org/:splat 301
16 /libvirt-appdev-guide-python/en-US/html/* https://libvirt.gitlab.io/libvirt-appdev-guide-python/:splat: 301
17 /java.html https://java.libvirt.org 301
18 # Redirect to the proper javadoc directory on the subproject page
19 /sources/java/javadoc/* https://java.libvirt.org/javadoc/:splat 301
21 # Redirects from old gitweb location (see below)
22 /git https://gitlab.com/libvirt/ 301
24 # The above rules are adapted from the following set of 'mod_rewrite' rules used
25 # originally on libvirt.org:
27 #    RewriteRule ^/libvirt-go$ /libvirt-go.html [L]
28 #    RewriteRule ^/libvirt-go-xml$ /libvirt-go-xml.html [L]
29 #    RewriteRule ^/go/libvirt$ /go/libvirt.html [L]
30 #    RewriteRule ^/go/libvirtxml$ /go/libvirtxml.html [L]
31 #    RewriteRule ^/sources/(.*) https://download.libvirt.org/$1 [L]
32 #    RewriteRule ^/ruby/download/(.*) https://download.libvirt.org/ruby/$1 [L]
33 #    RewriteRule ^/(maven2/org/libvirt.*) https://download.libvirt.org/$1 [L]
34 #    RewriteRule ^/ocaml/(.*) https://ocaml.libvirt.org/$1 [L]
35 #    RewriteRule ^/ruby/(.*) https://ruby.libvirt.org/$1 [L]
36 #    RewriteRule ^/php/(.*) https://php.libvirt.org/$1 [L]
37 #    RewriteRule ^/java.html https://java.libvirt.org [L]
38 #    RewriteRule ^/docs/libvirt-appdev-guide-python/en-US/html/(.*) https://libvirt.gitlab.io/libvirt-appdev-guide-python/$1 [L]
39 #    RewriteRule ^/git https://gitlab.com/libvirt/ [L]
41 #  Redirect replacing 'gitweb'. The 'gitweb' interface was originally replaced
42 #  by the following redirect condition:
44 #    RewriteCond %{QUERY_STRING} p=([-a-zA-Z0-9]+).git
45 #    RewriteRule ^/git/$ https://gitlab.com/libvirt/%1 [L]
47 # That unfortunately can't be represented in gitlab redirects as it doesn't
48 # support redirects based on query strings. Given that the above redirect broke
49 # most gitweb links anyways, due to handling only the 'p=' argument, git gitlab
50 # redirect will break the rest of them.
52 #  The following rule was dropped as the page never existed:
54 #    RewriteRule ^/libvirt-console-proxy$ /libvirt-console-proxy.html [L]