How to buld an Apache module in C++

J

Juan Gabito

I would like to know how to build a module for the Apache Server in
C++.
I wan't to know this because I build a samll parser, so I would like
to parse file whith pol extension when I do a a reques like this:
http://somehost.com/somefile.pol

Thanks
 
R

Rolf Magnus

Juan said:
I would like to know how to build a module for the Apache Server in
C++.
I wan't to know this because I build a samll parser, so I would like
to parse file whith pol extension when I do a a reques like this:
http://somehost.com/somefile.pol

Your question is actually off-topic here, since this newsgroup deals only
with standard C++, which doesn't have anything to say about Apache modules.
Having that said:
You don't need to make it an Apache module. You can also make it a CGI,
which would be simpler. A CGI is just a little program that is executed by
the web server. It gets passed some command line parameters that describe
the type of request, and your program simply has to write the result to the
standard output (std::cout). The server will forward that to the client.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,665
Latest member
salkete

Latest Threads

Top