httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Lee R. Wiltbank)
Subject Re: Embeding apache into an application
Date Wed, 17 May 2000 17:53:06 GMT
I successfully embedded the Win32 Apache by spawning a thread that does the

hLib = LoadLibrary("apachecore.dll");
pApache_Main = (goofy cast)GetProcAddress(hLib, "apache_main");
/* create an argc and argv to pass into apache_main with -X on the command

-----Original Message-----
From: cizaire_liste <>
To: <>
Date: Tuesday, May 16, 2000 10:41 AM
Subject: Embeding apache into an application

>I want to embed apache into an already written application
>(on solaris, linux and NT), by loading it as a shared library,
>and that raises some points :
>- how to use apache when my application provides the main
>(maybe something to do with REALMAIN)
>- how to prevent apache to fork (but multi threading is ok)
>(maybe something to do with MULTITHREAD but I am not sure it
>is handled on unix)
>- how to get the http requests
>(maybe something like a mod_... to develop)
>- what is the minimal configuration
>- how to do it well
>I hope that I can have some good advices from you.
>Do You Yahoo!?
>Talk to your friends online with Yahoo! Messenger.

View raw message