On Fri, Dec 12, 2008 at 1:08 AM, Morgan Gangwere <0.fracta...@gmail.com>wrote:

>  Leo Li wrote:
>
>>
>> Hi, all
>>       I would like to adopt apache http server in my project. But it is
>> necessary for the http server to be an in-process module to be plugged in
>> the current system. That is, I would make a little modification to the make
>> file and build the httpd as a dll/so and export the main method for other
>> modules to reference. But would it lead to some side-effect?
>>   Thank you in advance.
>> --
>> Good luck!
>>
>> Leo Li
>>
>
> Short answer: its not possible
> Long Answer: Its not possible because apache was designed as a stand-alone
> HTTPd.
>
> Simple solution: write a way for your app to talk to Apache. I.e. write a
> Module that mubmles between your app and apache when it gets a request of
> some kind that it likes.
>
> Past that, why would you want to do what you're talking about?



-- 
Morgan Gangwere

Unknown Software
http://sonof.bandit.name/
Member, INCOSE [ incose.org ] PACA [ paca.org ] and NMUG [ nmug.net ]

[indr...@boxly ~]#_

Find me on FreeNode! irc.freenode.net ~indrora on ##linux

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Thank you for your answer, Morgan.
   What I want to do is to plugin an in-process http server module in an
exsiting product to expose its original functionality as web service
(soap over http). :)  Since the existing product is already an executable
one so it seems that the only choice is to write an apache module to
communicate with apache http server and the existing product by IPC...
   I know there are in-process http server in java but I would not like to
add the burdon of an additional JVM and the cost of JNI calls so I am now
looking for an in-process http server in native language.




-- 
Good luck!

Leo Li

Reply via email to