Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Server Side Includes inside a CGI program

Posted on 1997-10-08
1
186 Views
Last Modified: 2013-12-25
I am trying to use Server Side includes in my CGI generated pages.  However, I can get them working.  

I am working on a Netscape Server and I have turned on HTML parsing on all HTML documents.  Is there another setting that I need to change so that it (the server) will also parse SSI calls inside PERL generate pages?

Thanks,
0
Comment
Question by:ferreimi
1 Comment
 
LVL 3

Accepted Solution

by:
gwalters earned 50 total points
ID: 1830774
The server (by design) won't parse a CGI's output.  If that's what you really want, have your CGI generate a file accessible by the web server, then send a redirect to the browser to point at that file, usually by sending

"Location: /new/page/location\n\n"

to stdout, instead of

"Content-type: text/html\n\n***page body***"

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Combine DSQuery result into loop script 6 69
Fixed div within Bootstrap carousel item 11 61
User profile Size Report 3 84
Renaming with batch file 9 49
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question