SSI in apache and cgi scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux