RewriteCond %{HTTP_HOST} ^vim?\.shiar\.\w+$
RewriteRule ^(vi(?=m$)|.*) http://sheet.shiar.nl/$1 [R=301]
-# redirect old location
+# redirect old locations
RewriteRule ^vim$ /vi [R=301]
+RewriteRule ^cc$ /countries [R=301]
# serve vim commands when requesting /digraphs.ex as well
RewriteRule ^(digraphs)\.ex(/.*)?$ $1.vim$2
<h1>Country codes</h1>
<:
-my $cc = do 'cc.inc.pl';
+my $cc = do 'countries.inc.pl';
{
printf '<table class="mcmap">';
</div>
<p class="footer">
- <a href="/" rel="home">sheet.shiar.nl</a>/cc.<a href="/source/cc.plp"
+ <a href="/" rel="home">sheet.shiar.nl</a>/countries.<a href="/source/countries.plp"
rel="code" title="Written in Perl">plp</a>
- <a href="http://git.shiar.nl/sheet.git/history/HEAD:/cc.plp"
+ <a href="http://git.shiar.nl/sheet.git/history/HEAD:/countries.plp"
rel="vcs-git" title="Git repository"><:= $VERSION :></a>
created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
<a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" rel="copyright"