Define alias 'archive' for '/usr/local/www/db/text/' in

cgi variable fetch. Save space in URLs...
This commit is contained in:
Wolfram Schneider 1998-12-28 00:16:31 +00:00
parent e8b19bf6ac
commit 47a2549020
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=3970

View file

@ -6,7 +6,7 @@
# by John Fieber
# February 26, 1998
#
# $Id: getmsg.cgi,v 1.17 1998-12-26 18:17:44 wosch Exp $
# $Id: getmsg.cgi,v 1.18 1998-12-28 00:16:31 wosch Exp $
#
require "./cgi-lib.pl";
@ -39,6 +39,7 @@ sub Fetch
$file =~ s/\.\.//g;
$file =~ s|/+|/|;
$file =~ s|^archive/|$messagepath/|;
# read the full archive
if ($type eq 'archive') {