[ale] apache + ssi question

Mir Shafiqul Islam mir at oisp.gsu.edu
Thu Jul 9 10:58:20 EDT 1998


Thanks Josh. That worked !

> 
> 
> What you're experiencing is that fact that your SSI is  directly calling
> the image binary information RIGHT INTO the page.  For example, if I had a
> simple perl script that output "foo", the output from a SSI include would
> show up in the html on the client side, I.E. the work "foo" would show up
> in the final document.  Now, what you're doing is inserting the binary
> information of the image into the final document, causing all kinda of
> garbage in a text/html document.  What you should do instead is use
> straight CGI and use a <img src="http://somesite/somecgi">
> 
> Well, I hope that made sense anyway :)
> 
> Josh Murrah, jmurrah at salug.org, http://jmurrah.salug.org, ICQ 4613433
> ------------------------~~~===<[^]>===~~~----------------------------
> This mail is a natural product.  The slight variations in spelling and
> grammar enhance its individual character and beauty and in no way are to
> be considered flaws or defects.
> 
> On Thu, 9 Jul 1998, Mir Shafiqul Islam wrote:
> 
> > Hi, I have this problem with SSI. Most likely a config or call problem.
> > 
> > I am calling a script from a .shtml document. The script is a perl script
> > and creates a gif image on the fly. I want the document to show the image.
> > 
> > But instead of image it is showing gibberish.
> > 
> > here is how I call the script.
> > 
> > <!--#exec cgi="/cgi-bin/image.cgi"-->
> > 
> > Once again the image.cgi script is a perl script utilizing GD library to
> > create a gif image on the fly. If I call just the script, image shows up
> > fine. So, I know the Image header is written fine. Any ideas ? Thanks.
> > 
> >  -- 
> > Mir S Islam
> > Systems Administrator
> > Office of International Services and Programs
> > Georgia State University  
> > mir at oisp.gsu.edu
> > 
> 
> 


-- 
Mir S Islam
Systems Administrator
Office of International Services and Programs
Georgia State University  
mir at oisp.gsu.edu






More information about the Ale mailing list