You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marcos Camargo <mc...@broadcom.com> on 2015/06/20 14:01:36 UTC
SSI for CGI output ...
Is it possible to have SSI parse CGI output? I would like to include the header and footer using the include command available in SSI inside a CGI script. How do I do that? Do I have to specify a different Content-type?
Thanks,
Marc
RE: SSI for CGI output ...
Posted by Marcos Camargo <mc...@broadcom.com>.
I am not seeing the file being included in my webpage. This is what I have as far as code and setup
This is my content type:
Content-type: text/html
This is the code in perl script:
print qq(<!--#include virtual="logo.inc" -->\n);
This is my .htacess
Options +Includes
XBitHack on
I could not find any documentation on how to do SSI in CGI output.
Thanks,
Marc
-----Original Message-----
From: Marcos Camargo [mailto:mcamargo@broadcom.com]
Sent: Saturday, June 20, 2015 8:45 AM
To: dev@httpd.apache.org
Subject: RE: SSI for CGI output ...
Nick,
Thanks for replying. I tried and I don't see the file included. I can't find any documentation on how to do it. My question is, if it is possible then how do I do it?
Marc
-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com]
Sent: Saturday, June 20, 2015 5:51 AM
To: dev@httpd.apache.org
Subject: Re: SSI for CGI output ...
On Sat, 20 Jun 2015 12:01:36 +0000
Marcos Camargo <mc...@broadcom.com> wrote:
> Is it possible to have SSI parse CGI output?
Yes.
If you want a longer answer, you'll have to explain what leads you to suppose there might be a problem with it. Unless you've been reading tutorials for 1998 (or earlier) Apache releases?
--
Nick Kew
RE: SSI for CGI output ...
Posted by Marcos Camargo <mc...@broadcom.com>.
Nick,
Thanks for replying. I tried and I don't see the file included. I can't find any documentation on how to do it. My question is, if it is possible then how do I do it?
Marc
-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com]
Sent: Saturday, June 20, 2015 5:51 AM
To: dev@httpd.apache.org
Subject: Re: SSI for CGI output ...
On Sat, 20 Jun 2015 12:01:36 +0000
Marcos Camargo <mc...@broadcom.com> wrote:
> Is it possible to have SSI parse CGI output?
Yes.
If you want a longer answer, you'll have to explain what leads you to suppose there might be a problem with it. Unless you've been reading tutorials for 1998 (or earlier) Apache releases?
--
Nick Kew
Re: SSI for CGI output ...
Posted by Nick Kew <ni...@webthing.com>.
On Sat, 20 Jun 2015 12:01:36 +0000
Marcos Camargo <mc...@broadcom.com> wrote:
> Is it possible to have SSI parse CGI output?
Yes.
If you want a longer answer, you'll have to explain what leads
you to suppose there might be a problem with it. Unless you've
been reading tutorials for 1998 (or earlier) Apache releases?
--
Nick Kew