httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <>
Subject Re: [users@httpd] CGI program loading a page
Date Mon, 23 Feb 2004 00:58:56 GMT wrote:

> Actually, I'm writing the CGI program in C, rather than Perl.
> I'd like the CGI program to process some stuff in a form, and then load a page. The page
has a lot of SSI on it, so I can't just open the file and print it. I need httpd to parse
it and serve it up.
> I get the feeling that it's something simple, but I don't know what it is.

It doesn't really matter what language it's written in.  In perl you'd
use LWP::Simple as in the previous example.  In C you could use libcurl,
or any other URL-fetching library.  Getting a document from the local
server is no different than getting one from a remote server.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message