Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

using SSI with a CGI-generated html page ?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Trying to get web server started.  
Author Message
user2613

External


Since: Jan 02, 2004
Posts: 1



(Msg. 1) Posted: Fri Jan 02, 2004 12:33 pm
Post subject: using SSI with a CGI-generated html page ?
Archived from groups: alt>apache>configuration (more info?)

Hi,

I need to use SSI to call an external program, but the html page witch have
to call this program is dynamically generated by a CGI : this causes
apaches don't want to parse de page with mod_includes !

Is there a way to tell apache to parse the page generated by a CGI ?

regards,

--
Eric Belhomme

 >> Stay informed about: using SSI with a CGI-generated html page ? 
Back to top
Login to vote
mfuhr

External


Since: Nov 17, 2003
Posts: 44



(Msg. 2) Posted: Fri Jan 02, 2004 1:32 pm
Post subject: Re: using SSI with a CGI-generated html page ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Eric Belhomme <eric.belhomme_PAS_DE_SPAM_MERCI.TakeThisOut@free.fr.invalid> writes:

 > I need to use SSI to call an external program, but the html page witch have
 > to call this program is dynamically generated by a CGI : this causes
 > apaches don't want to parse de page with mod_includes !
 >
 > Is there a way to tell apache to parse the page generated by a CGI ?

Why do you need to use SSI to call the external program? Why can't
the CGI program run the other program?

In any case, if you're using Apache 2 (2.0.26 or later) then you
could use SetOutputFilter or AddOutputFilter.

<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#setoutputfilter" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#setoutputfilter</a>
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addoutputfilter" target="_blank">http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addoutputfilter</a>

--
Michael Fuhr
<a style='text-decoration: underline;' href="http://www.fuhr.org/~mfuhr/" target="_blank">http://www.fuhr.org/~mfuhr/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: using SSI with a CGI-generated html page ? 
Back to top
Login to vote
devnull

External


Since: Sep 09, 2003
Posts: 4



(Msg. 3) Posted: Fri Jan 02, 2004 2:08 pm
Post subject: Re: using SSI with a CGI-generated html page ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

i believe you can tell it what extensions needs to be ssi processed, but im
not sure how it will come out when it is also handling it as cgi(or perl or
whater ever your cgi is written in).. and if it is at all posible to process
the page 2 times... but cant you just execute the program in the cgi and put
the output into the page in that proggie ?
-Simon
 >> Stay informed about: using SSI with a CGI-generated html page ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to set Missing.html for the error page - I have created a missing.html file in my document root (http://www.machilus.com/missing.html) and made the following configuration: #ErrorDocument 500 "The server made a boo boo. # n.b. the single leading (") marks it as text, it does not ge...

html stats page generator. - hello does anyone know of a good html stats generator for windows? i'd be interested to create a stats page for my archives, as it receives quite a lot of traffic. i'd like to create a stats page with as diverse statistics as possible. many thanks ..

noindex.html page on my Apache 2.0.40 Redhat 9 Server - Since I didn't got a reply yet on my previous posting I might as well try this in a different format. (and different question style) The issue is that, what ever I change in the config, I continously get the noindex.html page saying that this is RedHat....

more tomcat/apache: mod_jk.conf auto generated? - Hi, I've gotten my hands on the right docs.. I'm continuing to read up, one thing I've done is upgraded 2.0.46 of apache. One thing it says, which I've seen in a few other docs, is that /usr/local/tomcat/conf/auto/mod_jk.conf is autogenerated by tomcat...

Sending .txt as HTML - Hi there I have just noticed that Apache is trying to send some .txt files as HTML to the end user's machine. I put some of my source code as text files and as apache is sending it wrongly the end browser tries to render it (it succeeds and therefore th...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]