]> granicus.if.org Git - apache/commitdiff
Fix SSI syntax errors -- strings inside #if test expressions are either
authorTony Finch <fanf@apache.org>
Tue, 24 Oct 2000 19:09:55 +0000 (19:09 +0000)
committerTony Finch <fanf@apache.org>
Tue, 24 Oct 2000 19:09:55 +0000 (19:09 +0000)
bare or in single quotes, not double quotes.
PR: 6736

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86738 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/custom_errordocs.html

index 47d50a19aad8ad6cf3f358852750b552101ac0ef..983d46beb62ec18e7bc3aeb3f9f3720f84c69b7c 100644 (file)
@@ -303,7 +303,7 @@ A simple shell script to do it (execute within the errordocs/ dir):
  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 @@ documents, or to translate the error documents to different languages.
    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 @@ appears to support it (the latter requires server configuration lines
 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!"