httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@locus.apache.org
Subject cvs commit: httpd-docs-1.3/htdocs/manual/howto SSI-HOWTO.html
Date Mon, 06 Nov 2000 02:45:58 GMT
rbowen      00/11/05 18:45:57

  Modified:    htdocs/manual/howto SSI-HOWTO.html
  Log:
  Numerous grammatical and style corrections, thanks to Chris Pepper.
  
  Revision  Changes    Path
  1.3       +9 -9      httpd-docs-1.3/htdocs/manual/howto/SSI-HOWTO.html
  
  Index: SSI-HOWTO.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/howto/SSI-HOWTO.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SSI-HOWTO.html	2000/11/05 20:37:10	1.2
  +++ SSI-HOWTO.html	2000/11/06 02:45:57	1.3
  @@ -74,8 +74,8 @@
   usually called simply SSI. In this article, I'll talk about configuring
   your server to permit SSI, and introduce some basic SSI techniques for
   adding dynamic content to your existing HTML pages.</P>
  -<P>In the latter part of article, we'll talk about some of the somewhat
  -more advanced things can be done with SSI, such as conditional statements
  +<P>In the latter part of the article, we'll talk about some of the somewhat
  +more advanced things that can be done with SSI, such as conditional statements
   in your SSI directives.</P>
   <P>
   <HR>
  @@ -138,7 +138,7 @@
   <P>It is formatted like an HTML comment, so if you don't have SSI correctly enabled,
   the browser will ignore it, but it will still be visible in the HTML source.
   If you have SSI correctly configured, the directive will be replaced with
  -the results of the directive.</P>
  +its results.</P>
   <P>The element can be one of a number of things, and we'll talk some more about
   most of these in the next installment of this series. For now, here are some
   examples of what you can do with SSI</P>
  @@ -200,7 +200,7 @@
   <P>Using an include file for a header and/or a footer can reduce the burden of these
   updates. You just have to make one footer file, and then include it into each page
   with the <CODE>include</CODE> SSI command. The <CODE>include</CODE>
element can determine what file 
  -to include with either the <CODE>file</CODE> attribute, or the <CODE>vitrual</CODE>
attribute. The <CODE>file</CODE>
  +to include with either the <CODE>file</CODE> attribute, or the <CODE>virtual</CODE>
attribute. The <CODE>file</CODE>
   attribute is a file path, <EM>relative to the current directory</EM>. That
means that it
   cannot be an absolute file path (starting with /), nor can it contain ../ as
   part of that path. The <CODE>virtual</CODE> attribute is probably more useful,
and should
  @@ -236,7 +236,7 @@
   SSI with small CGI programs. For now, here's something else that you can 
   do with the <CODE>exec</CODE> element. You can actually have SSI execute a
command using
   the shell (<CODE>/bin/sh</CODE>, to be precise - or the DOS shell, if you're
on Win32).
  -The following, for example will give you a directory listing.</P>
  +The following, for example, will give you a directory listing.</P>
   <PRE>
           &lt;pre&gt;
           &lt;!--#exec cmd=&quot;ls&quot; --&gt;
  @@ -269,7 +269,7 @@
   <HR>
   <H1><A NAME="setting variables">Setting variables</A></H1>
   <P>Using the <CODE>set</CODE> attribute, you can set variables for later
use. We'll need this
  -later in the discussion, so we'll talk about this here. The syntax of this is
  +later in the discussion, so we'll talk about it here. The syntax of this is
   as follows:</P>
   <PRE>
           &lt;!--#set var=&quot;name&quot; value=&quot;Rich&quot; --&gt;</PRE>
  @@ -296,7 +296,7 @@
   <HR>
   <H1><A NAME="conditional expressions">Conditional expressions</A></H1>
   <P>Now that we have variables, and are able to set and compare their values, we 
  -can use them to express conditionals. This lets SSI be a tiny programming languages
  +can use them to express conditionals. This lets SSI be a tiny programming language
   of sorts. <CODE>mod_include</CODE> provides an <CODE>if</CODE>,
<CODE>elif</CODE>, <CODE>else</CODE>, <CODE>endif</CODE>
structure
   for building conditional statements. This allows you to effectively generate 
   multiple logical pages out of one actual page.</P>
  @@ -327,7 +327,7 @@
   <P>Not that I have anything against IE on Macs - I just struggled for a few hours
last
   week trying to get some JavaScript working on IE on a Mac, when it was working 
   everywhere else. The above was the interim workaround.</P>
  -<P>Any other variable (either ones that you define, or normal enviroment variables)

  +<P>Any other variable (either ones that you define, or normal environment variables)

   can be used in conditional statements. With Apache's ability to set environment
   variables with the <CODE>SetEnvIf</CODE> directives, and other related directives,
this 
   functionality can let you do some pretty involved dynamic stuff without ever 
  @@ -336,7 +336,7 @@
   <HR>
   <H1><A NAME="conclusion">Conclusion</A></H1>
   <P>SSI is certainly not a replacement for CGI, or other technologies used for
  -generating dynamic web pages. But it is certainly a great way to add small
  +generating dynamic web pages. But it is a great way to add small
   amounts of dynamic content to pages, without doing a lot of extra work.</P>
   
   </BODY>
  
  
  

Mime
View raw message