#!/usr/bin/perl -w # # Copyright (c) 2003-2006 University of Chicago and Fellowship # for Interpretations of Genomes. All Rights Reserved. # # This file is part of the SEED Toolkit. # # The SEED Toolkit is free software. You can redistribute # it and/or modify it under the terms of the SEED Toolkit # Public License. # # You should have received a copy of the SEED Toolkit Public License # along with this program; if not write to the University of Chicago # at info@ci.uchicago.edu or the Fellowship for Interpretation of # Genomes at veronika@thefig.info or download a copy from # http://www.theseed.org/LICENSE.TXT. # # This module simply displays a page. The page location is given by the directory location # in the form variable "Path", and the file name in the form variable "DocMenu". use strict; use CGI; # Get the form parameters. my $query = new CGI; # Form the target URL. my $target = $query->param('Path') . $query->param('DocMenu'); # Redirect to it. print "CONTENT-TYPE: text/html\n"; print "LOCATION: $target\n\n"; 1;