diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-26 13:47:01 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-26 13:47:01 +0800 |
commit | 2a2078146f1e079732cd1a471e064d34a4399890 (patch) | |
tree | 79317a4ab4ed6a610033ed914a2c8782c3a37790 /web/blog/index.pl | |
parent | b860b474520a4f30b20c829d507d60a90338aadc (diff) | |
download | pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.tar pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.tar.gz pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.tar.bz2 pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.tar.lz pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.tar.xz pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.tar.zst pttbbs-2a2078146f1e079732cd1a471e064d34a4399890.zip |
- (internal) directory layout structure finetune
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4022 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'web/blog/index.pl')
-rwxr-xr-x | web/blog/index.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/web/blog/index.pl b/web/blog/index.pl new file mode 100755 index 00000000..b30ed178 --- /dev/null +++ b/web/blog/index.pl @@ -0,0 +1,17 @@ +#!/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; + |