* SSI in apache and cgi scripts
@ Raul A. Gallegos
` Steve Holmes
0 siblings, 1 reply; 2+ messages in thread
From: Raul A. Gallegos @ UTC (permalink / raw)
To: speakup
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SSI in apache and cgi scripts
SSI in apache and cgi scripts Raul A. Gallegos
@ ` Steve Holmes
0 siblings, 0 replies; 2+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
SSI in apache and cgi scripts Raul A. Gallegos
` Steve Holmes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).