aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
blob: 7e01dc6479268926d2c443a137ace1066854f7a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Permalink handling
  # See https://httpd.apache.org/docs/2.4/rewrite/remapping.html
  RewriteRule ^cypherpunks$                   /events/2013/cypherpunks/                [R]
  RewriteRule ^campusparty$                   /events/2014/campusparty/                [R]
  RewriteRule ^cryptorave$                    /events/2014/cryptorave/                 [R]
  RewriteRule ^fisl$                          /events/2015/fisl/                       [R]
  RewriteRule ^static$                        /suckless/sites/                         [R]
  RewriteRule ^cli$                           /suckless/cli/                           [R]
  RewriteRule ^sarava$                        /poesia/sarava/                          [R]
  RewriteRule ^services$                      /research/computing/services/            [R]
  RewriteRule ^suckless(.*)$                  /research/computing/suckless$1           [R]
  RewriteRule ^virtual$                       /research/computing/suckless/virtual/    [R]
  RewriteRule ^orphans$                       /research/archived/                      [R]
  RewriteRule ^research/git$                  /research/computing/git                  [R]
  RewriteRule ^research/libreboot$            /research/computing/libreboot            [R]
  RewriteRule ^research/thinkpad$             /research/computing/thinkpad             [R]
  RewriteRule ^research/token$                /research/computing/token                [R]
  RewriteRule ^books/amor(.*)$                /books/love$1                            [R]
  RewriteRule ^books/vida(.*)$                /books/life$1                            [R]
  RewriteRule ^books/historia(.*)$            /books/history$1                         [R]
  RewriteRule ^books/filosofia/metodo(.*)$    /books/epistemologia/metodo$1            [R]
  RewriteRule ^books/filosofia/contra-metodo$ /books/epistemologia/contra-metodo$1     [R]
  RewriteRule ^books/filosofia(.*)$           /books/philosophy$1                      [R]
  RewriteRule ^books/psicologia(.*)$          /books/psychology$1                      [R]
  RewriteRule ^books/sociedade(.*)$           /books/sociology$1                       [R]
  RewriteRule ^books/tecnopolitica(.*)$       /books/technology$1                      [R]
  RewriteRule ^organizacao$                   https://templates.fluxo.info/organizacao [R]
  RewriteRule ^research/lab$                  https://templates.fluxo.info/lab         [R]
</IfModule>

<IfModule mod_alias.c>
  # Barebones URL shortener service
  Redirect /shortener/keyringer https://keyringer.pw
</IfModule>