SSI in apache and cgi scripts

Steve Holmes steve at holmesgrown.com
Thu Sep 5 21:24:09 EDT 2002


I thought SSI's were limitted to special defines in Apache; I didn't
you could create your own.  But What do I know? my Apache experience
is a bit dim yet.  I thought CGI bins had to be invoked directly from
HTML pages or form action post or such.  Of course, PHP simply is
embedded in HTML and the PHP stuff needs to be enabled in httpd.conf
but that's probably beyond the scope of this message:).

On Thu, Sep 05, 2002 at 04:42:51PM -0500, Raul A. Gallegos wrote:
> Hi.  I've enabled SSI in httpd.conf per the manual the comments in said
> file.  I've put a .cgi script, for now just something that prints hello.
> The content of the script is:
> 
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print "Hello";
> 
> I've also put the correct include and exec statement in a document called
> test.shtml and the text still will not come up.
> 
> Is there something I should look for considering all these factors?  The
> scripts lives in /usr/lib/cgi-bin which is the default for debian.  I call
> the script with
> 
> <!--#include virtual="/cgi-bin/test.cgi" -->
> 
> Still nothing.
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list