From 811610125178f30d2e39c2d6d6955cf5edaa0455 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 24 Oct 2000 19:09:55 +0000 Subject: [PATCH] Fix SSI syntax errors -- strings inside #if test expressions are either 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/misc/custom_errordocs.html b/docs/manual/misc/custom_errordocs.html index 47d50a19aa..983d46beb6 100644 --- a/docs/manual/misc/custom_errordocs.html +++ b/docs/manual/misc/custom_errordocs.html @@ -303,7 +303,7 @@ A simple shell script to do it (execute within the errordocs/ dir): variable within an error document:

- <!--#if expr="\"$REDIRECT_ERROR_NOTES\" = \"\"" -->
+ <!--#if expr="$REDIRECT_ERROR_NOTES = ''" -->
   <p>
    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.
    </P>
    <P>
-   <!--#if expr="\"$HTTP_REFERER\" != \"\"" -->
+   <!--#if expr="$HTTP_REFERER != ''" -->
     Please inform the owner of
     <A HREF="<!--#echo var="HTTP_REFERER" -->">the referring page</A> about 
     the malformed link.
@@ -361,7 +361,7 @@ appears to support it (the latter requires server configuration lines
 of the form 
BrowserMatch "^Mozilla/[2-4]" anigif
for browser types which support animated GIFs).
-<!--#if expr="\"$SERVER_NAME\" = /.*\.mycompany\.com/" 
+<!--#if expr="$SERVER_NAME = /.*\.mycompany\.com/" 
 --><!--#set var="IMG_CorpLogo"
             value="http://$SERVER_NAME:$SERVER_PORT/errordocs/CorpLogo.gif" 
 --><!--#set var="ALT_CorpLogo" value="Powered by Linux!" 
-- 
2.50.1