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









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

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

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

main();
1;