For example, if the URL for the template file is
http://host/~abc0/my/stuff/one/template.html
and the URL for the content file is
http://host/~abc0/my/stuff/two/content.html
the script should be called with the URL
http://host/cgi-bin/script/~abc0/my/stuff?one/template.html?two/content.html
<!DOCTYPE HTML PUBLIC "-//W32/DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>
INSERTHERE=TITLE
</TITLE>
<BASE HREF="http://$ENV{HTTP_HOST}/~abc0/my/stuff/index.html">
<!-- The BASE statement is necessary if any relative links are
in the template or content files. Without the BASE statement, those
links would be relative to the CGI directory -->
</HEAD>
<BODY>
<IMG SRC="images/logo.gif">
INSERTHERE=CONTENT
<P>
<FONT SIZE=-1>
INSERTHERE=MAINTAINER
INSERTHERE=DATE
</FONT>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W32/DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>
<!-- *** Insert title *** -->
INSERTHERE=TITLE
</TITLE>
<BASE HREF="http://www.lehigh.edu/~ludoc/offcampus/index.html">
</HEAD>
<BODY BGCOLOR="#FFFFCC"
TEXT="#000000" LINK="#008000" VLINK="#800000" ALINK="#FF0000">
<TABLE>
<TR>
<TD>
<IMG SRC="images/30x30.gif" ALT="">
</TD>
<TD>
<A HREF="http://www.lehigh.edu">
<IMG SRC="images/lu.gif" ALT="Lehigh University" BORDER="0"></A>
</TD>
</TR>
</TABLE>
<IMG SRC="images/rul_hori.gif" ALT="">
<TABLE>
<TR>
<TD VALIGN=top>
<BR>
<IMG SRC="images/ppp.gif" ALIGN="top" BORDER="0" ALT="">
</TD>
<TD>
<BR>
<!-- *** Insert content *** -->
INSERTHERE=CONTENT
<P>
<FONT SIZE=-1>
<!-- *** Insert maintainer and date *** -->
INSERTHERE=MAINTAINER
INSERTHERE=DATE
</FONT>
<P>
<HR>
<FONT SIZE=-1>
<A HREF="http://www.lehigh.edu/ir/">
<IMG SRC="images/ir3.gif" ALIGN="top" BORDER="0" ALT="">
Back to Information Resources</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
|
|
|
INSERTHERE=CONTENT INSERTHERE=MAINTAINER INSERTHERE=DATE
Back to Information Resources
|
<!DOCTYPE HTML PUBLIC "-//W32/DTD HTML 3.2//EN">
<BODY>
START=TITLE
Lehigh Off-Campus Internet
END=TITLE
<P>
START=CONTENT
<H1>Lehigh Off-Campus Internet</H1>
Welcome to Lehigh University Information Resources's home page for
Lehigh Off-Campus connectivity.
<P>
<HR>
<H2>Connection Software</H2>
Check out our <A HREF="matrix.html">software chart</A> to find out
what software
is available for making connections to Lehigh. Here, you can
find out what versions are current, get more information about the
various packages, download most of the software, and find installation
and troubleshooting guides.
<P>
END=CONTENT
<P>
START=MAINTAINER
drb2@lehigh.edu
END=MAINTAINER
<P>
START=DATE
97November20
END=DATE
</BODY>
</HTML>
START=CONTENT
END=CONTENT
START=MAINTAINER drb2@lehigh.edu END=MAINTAINER
START=DATE 97November20 END=DATE