homepage Welcome to WebmasterWorld Guest from 54.166.122.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
APache 2.0 output of CGI scripts to be parsed for Server Side Include
The feature exists but how do I use it?
MrNick

10+ Year Member



 
Msg#: 440 posted 8:57 pm on Dec 27, 2001 (gmt 0)

Listed under Apache 2.0 features is this nice tidbit:
"Apache modules may now be written as filters which act on the stream of content as it is delivered to or from the server. This allows, for example, the output of CGI scripts to be parsed for Server Side Include directive by mod_include."

What I would like to know is if anyone knows how to do that.. "Output of CGI scripts to be parsed for Server Side Include directive?"?

Before you ask why I would want to do such a thing, this is why:

I am using a 3rd party program that provides great functionality for me. I have the source to this program but do not want to modify it so that I can keep updating it as new versions come out. So, the best solution for me is to have SSI in the templates that this CGI reads.

So, any ideas? I know it can be done, it says so in the features of 2.0, now I just need to know HOW.

Thanks for your time,

Nick Powers
<no sigs please -rcj>

(edited by: rcjordan at 9:03 pm (gmt) on Dec. 27, 2001)

 

Air

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 440 posted 4:14 am on Dec 28, 2001 (gmt 0)

Well FWIW, I think what they are saying is that you could write such a module if you wanted to, but I don't see native support for it. I see the Apache group providing the ability to filter inbound and outbound (previously only inbound could be acted on), so that you get one more chance to act on the data before it gets to the browser. I'm sure it won't be long though until someone builds a module to act on SSI within CGI's given this new feature.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved