summaryrefslogblamecommitdiffstats
path: root/blog/index.pl
blob: b30ed1787507e09aecd0d315772597e69b5048a1 (plain) (tree)
1
2
3
4
5
6
               
      
                      
              
              
 









                                                       
 
#!/usr/bin/perl
# $Id$
use CGI qw/:standard/;
use lib qw/./;
use LocalVars;

sub main
{
    print redirect("/blog.pl/$1/")
    if( $ENV{REDIRECT_REQUEST_URI} =~ m|/\?(.*)| );

    return redirect("/blog.pl/$BLOGdefault/");
}

main();
1;