?
Solved

Server Side Includes inside a CGI program

Posted on 1997-10-08
1
Medium Priority
?
191 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 100 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

650 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