countries: rename from cc
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 2 Dec 2009 21:26:04 +0000 (21:26 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 2 Dec 2009 21:26:04 +0000 (21:26 +0000)
.htaccess
countries.inc.pl [moved from cc.inc.pl with 100% similarity]
countries.plp [moved from cc.plp with 94% similarity]

index a17c5d5..98b32d3 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -7,8 +7,9 @@ RewriteBase    /
 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
similarity index 100%
rename from cc.inc.pl
rename to countries.inc.pl
similarity index 94%
rename from cc.plp
rename to countries.plp
index 7d1b0d8..6e12b1b 100644 (file)
--- a/cc.plp
@@ -18,7 +18,7 @@
 <h1>Country codes</h1>
 
 <:
-my $cc = do 'cc.inc.pl';
+my $cc = do 'countries.inc.pl';
 
 {
        printf '<table class="mcmap">';
@@ -97,9 +97,9 @@ my $cc = do 'cc.inc.pl';
 </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"