You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by fa...@locus.apache.org on 2000/10/24 21:09:58 UTC

cvs commit: httpd-docs-2.0/htdocs/manual/misc custom_errordocs.html

fanf        00/10/24 12:09:57

  Modified:    htdocs/manual/misc custom_errordocs.html
  Log:
  Fix SSI syntax errors -- strings inside #if test expressions are either
  bare or in single quotes, not double quotes.
  PR: 6736
  
  Revision  Changes    Path
  1.7       +3 -3      httpd-docs-2.0/htdocs/manual/misc/custom_errordocs.html
  
  Index: custom_errordocs.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-2.0/htdocs/manual/misc/custom_errordocs.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -u -r1.6 -r1.7
  --- custom_errordocs.html	1998/09/17 14:14:52	1.6
  +++ custom_errordocs.html	2000/10/24 19:09:55	1.7
  @@ -303,7 +303,7 @@
    variable within an error document:
   </P>
   <PRE>
  - &lt;!--#if expr="\"$REDIRECT_ERROR_NOTES\" = \"\"" --&gt;
  + &lt;!--#if expr="$REDIRECT_ERROR_NOTES = ''" --&gt;
     &lt;p&gt;
      The server encountered an unexpected condition
      which prevented it from fulfilling the request. 
  @@ -340,7 +340,7 @@
      modifications.
      &lt;/P&gt;
      &lt;P&gt;
  -   &lt;!--#if expr="\"$HTTP_REFERER\" != \"\"" --&gt;
  +   &lt;!--#if expr="$HTTP_REFERER != ''" --&gt;
       Please inform the owner of
       &lt;A HREF="&lt;!--#echo var="HTTP_REFERER" --&gt;"&gt;the referring page&lt;/A&gt; about 
       the malformed link.
  @@ -361,7 +361,7 @@
   of the form <BR><CODE>BrowserMatch "^Mozilla/[2-4]" anigif</CODE><BR>
   for browser types which support animated GIFs).
   <HR><PRE>
  -&lt;!--#if expr="\"$SERVER_NAME\" = /.*\.mycompany\.com/" 
  +&lt;!--#if expr="$SERVER_NAME = /.*\.mycompany\.com/" 
   --&gt;&lt;!--#set var="IMG_CorpLogo"
               value="http://$SERVER_NAME:$SERVER_PORT/errordocs/CorpLogo.gif" 
   --&gt;&lt;!--#set var="ALT_CorpLogo" value="Powered by Linux!"