2023-03-17 18:09:21 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Wiktionary Redirection Info</title>
|
|
|
|
<link rel="stylesheet" href="/css/pico.min.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<main class="container">
|
|
|
|
<hgroup>
|
|
|
|
<h2>wt.dc09.ru</h2>
|
|
|
|
<h3>
|
|
|
|
<a href="https://wt.dc09.ru/abc">
|
|
|
|
wt.dc09.ru/<b>abc</b>
|
|
|
|
</a>
|
2023-03-24 17:26:15 +04:00
|
|
|
<span> redirects to </span>
|
2023-03-17 18:09:21 +04:00
|
|
|
<a href="https://ru.wiktionary.org/wiki/abc">
|
|
|
|
ru.wiktionary.org/wiki/<b>abc</b>
|
|
|
|
</a>
|
|
|
|
</h3>
|
|
|
|
</hgroup>
|
2023-03-24 17:26:15 +04:00
|
|
|
<pre><code># Wiktionary Redirect for Nginx
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
|
|
|
|
|
|
|
server_name wt.dc09.ru;
|
|
|
|
|
|
|
|
location /!about {
|
|
|
|
return 301 https://dc09.ru/wt;
|
|
|
|
}
|
|
|
|
|
|
|
|
location / {
|
|
|
|
rewrite ^/(.*) https://ru.wiktionary.org/wiki/$1;
|
|
|
|
}
|
|
|
|
}</code></pre>
|
|
|
|
<pre><code># Wiktionary Redirect for Apache httpd
|
|
|
|
<VirtualHost *:443>
|
2023-03-17 18:09:21 +04:00
|
|
|
ServerName wt.dc09.ru
|
|
|
|
<LocationMatch "^(?!/!about)">
|
|
|
|
RedirectMatch /(.*) https://ru.wiktionary.org/wiki/$1
|
|
|
|
</LocationMatch>
|
|
|
|
Redirect /!about https://dc09.ru/wt
|
|
|
|
</VirtualHost></code></pre>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
</html>
|