Solved

Server Side Includes inside a CGI program

Posted on 1997-10-08
1
187 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
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

730 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