The following reply was made to PR general/1380; it has been noted by GNATS.

From: Marc Slemko <[EMAIL PROTECTED]>
To: Ferret <[EMAIL PROTECTED]>
Cc: Apache bugs database <[EMAIL PROTECTED]>
Subject: Re: general/1380: cgi script fails to load gif 
Date: Mon, 10 Nov 1997 09:22:51 -0700 (MST)

 On Mon, 10 Nov 1997, Ferret wrote:
 
 > 
 > >Synopsis: cgi script fails to load gif
 > >
 > >State-Changed-From-To: analyzed-closed
 > >State-Changed-By: marc
 > >State-Changed-When: Mon Nov 10 07:56:11 PST 1997
 > >State-Changed-Why:
 > >User was not putting proper path in.
 > 
 > So how do I tell the cgi to display the image instead of trying to run it
 > as a cgi script?
 
 Huh?  Don't put images in ScriptAliased directories.  
 
 > 
 > Also I can't have made it clear, but I *was* giving it the full and
 > correct path to the image but Apache changes that to be relative to the
 > cgi-bin directory regardless of what you tell it. This is fine if you only
 > want to run scripts but not very helpful if you want to display an image.
 
 Apache does not change it to be relative.  Apache has nothing to do with
 it; it is between your CGI and your web client.  In the example you gave,
 you were giving a relative path.  That path is relative to the CGI script.
 

Reply via email to