You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Farag, Hany M (Hany)" <hf...@lucent.com> on 2001/08/21 18:22:01 UTC
making apache 2.0 supports multiple protocols
Hi All,
I'm working right now on making apache 2.0 supports other protocols (ex:
Beep, SOAP, iCAP, ...etc) and i'm doing it as seperate modules but The
thing that i Realy not clear about is since http is currently impelemented
within the Apache core, Doesn't this make it impossible to support the other
protocols unless i make the Http protocol itself as a module.
ex:
if i have a module mod_SOAP() and i added it to the Apache server and then
i have this command in the configuration file (httpd.conf) : SOAP_Protocol
on
and the serevr gets a request " method
SOAP://www.test-soap.com/service1.cgi"
won't that generate an http server error? if so is there anyway you can
think of to get around it beside modifying the core(making http as a
seperate module)
Please Correct me if I'm wrong..
Any help will be apperciated.
Thanks
Hany
-----Original Message-----
From: Farag, Hany M (Hany)
Sent: Friday, August 17, 2001 3:24 PM
To: 'new-httpd@apache.org'
Subject: --disable-http
when i'm configure apache 2.0.16 with:
./configure --disable-http
and then make
I get the following errors:
modules/mappers/.libs/mod_negotiation.a(mod_negotiation.o): In function
`handle_map_file':
mod_negotiation.o(.text+0x3861): undefined reference to
`ap_internal_redirect'
modules/mappers/.libs/mod_dir.a(mod_dir.o): In function `handle_dir':
mod_dir.o(.text+0x3d8): undefined reference to `ap_internal_redirect'
modules/mappers/.libs/mod_actions.a(mod_actions.o): In function
`set_script':
mod_actions.o(.text+0x14b): undefined reference to `ap_method_number_of'
modules/mappers/.libs/mod_actions.a(mod_actions.o): In function
`action_handler':
mod_actions.o(.text+0x3a1): undefined reference to
`ap_internal_redirect_handler'
modules/generators/.libs/mod_asis.a(mod_asis.o): In function `asis_handler':
mod_asis.o(.text+0x1dd): undefined reference to
`ap_internal_redirect_handler'
modules/generators/.libs/mod_cgid.a(mod_cgid.o): In function `cgid_handler':
mod_cgid.o(.text+0x1c8a): undefined reference to `ap_setup_client_block'
mod_cgid.o(.text+0x1ce7): undefined reference to `ap_should_client_block'
mod_cgid.o(.text+0x1d3f): undefined reference to `ap_get_client_block'
mod_cgid.o(.text+0x1e1b): undefined reference to `ap_get_client_block'
mod_cgid.o(.text+0x1f68): undefined reference to
`ap_internal_redirect_handler'
modules/generators/.libs/mod_cgid.a(mod_cgid.o): In function `include_cmd':
mod_cgid.o(.text+0x2783): undefined reference to `ap_setup_client_block'
mod_cgid.o(.text+0x2855): undefined reference to
`ap_internal_redirect_handler'
server/.libs/libmain.a(config.o): In function `ap_method_is_limited':
config.o(.text+0xd69): undefined reference to `ap_method_number_of'
server/.libs/libmain.a(util_script.o): In function
`ap_scan_script_header_err_core':
util_script.o(.text+0xbbd): undefined reference to `ap_meets_conditions'
server/.libs/libmain.a(exports.o)(.data+0x788): undefined reference to
`ap_send_error_response'
server/.libs/libmain.a(exports.o)(.data+0x790): undefined reference to
`ap_set_keepalive'
server/.libs/libmain.a(exports.o)(.data+0x7a8): undefined reference to
`ap_meets_conditions'
server/.libs/libmain.a(exports.o)(.data+0x7b4): undefined reference to
`ap_make_method_list'
server/.libs/libmain.a(exports.o)(.data+0x7b8): undefined reference to
`ap_copy_method_list'
server/.libs/libmain.a(exports.o)(.data+0x7bc): undefined reference to
`ap_method_list_do'
server/.libs/libmain.a(exports.o)(.data+0x7c0): undefined reference to
`ap_method_list_vdo'
server/.libs/libmain.a(exports.o)(.data+0x7c4): undefined reference to
`ap_method_in_list'
server/.libs/libmain.a(exports.o)(.data+0x7c8): undefined reference to
`ap_method_list_add'
server/.libs/libmain.a(exports.o)(.data+0x7cc): undefined reference to
`ap_method_list_remove'
server/.libs/libmain.a(exports.o)(.data+0x7d0): undefined reference to
`ap_clear_method_list'
server/.libs/libmain.a(exports.o)(.data+0x7f0): undefined reference to
`ap_index_of_response'
server/.libs/libmain.a(exports.o)(.data+0x7f4): undefined reference to
`ap_get_status_line'
server/.libs/libmain.a(exports.o)(.data+0x7f8): undefined reference to
`ap_setup_client_block'
server/.libs/libmain.a(exports.o)(.data+0x7fc): undefined reference to
`ap_should_client_block'
server/.libs/libmain.a(exports.o)(.data+0x800): undefined reference to
`ap_get_client_block'
server/.libs/libmain.a(exports.o)(.data+0x804): undefined reference to
`ap_discard_request_body'
server/.libs/libmain.a(exports.o)(.data+0x818): undefined reference to
`ap_method_number_of'
server/.libs/libmain.a(exports.o)(.data+0x81c): undefined reference to
`ap_method_name_of'
server/.libs/libmain.a(exports.o)(.data+0x84c): undefined reference to
`ap_http_header_filter'
server/.libs/libmain.a(exports.o)(.data+0x874): undefined reference to
`ap_internal_redirect'
server/.libs/libmain.a(exports.o)(.data+0x878): undefined reference to
`ap_internal_redirect_handler'
server/.libs/libmain.a(exports.o)(.data+0x888): undefined reference to
`ap_allow_methods'
server/.libs/libmain.a(exports.o)(.data+0x88c): undefined reference to
`ap_process_request'
server/.libs/libmain.a(exports.o)(.data+0x890): undefined reference to
`ap_die'
server/.libs/libmain.a(protocol.o): In function `read_request_line':
protocol.o(.text+0x10c3): undefined reference to `ap_method_number_of'
server/.libs/libmain.a(protocol.o): In function `ap_read_request':
protocol.o(.text+0x164b): undefined reference to `ap_make_method_list'
protocol.o(.text+0x185c): undefined reference to `ap_send_error_response'
protocol.o(.text+0x1916): undefined reference to `ap_send_error_response'
protocol.o(.text+0x1988): undefined reference to `ap_send_error_response'
protocol.o(.text+0x1a62): undefined reference to `ap_send_error_response'
protocol.o(.text+0x1b1b): undefined reference to `ap_send_error_response'
protocol.o(.text+0x1b29): undefined reference to `ap_discard_request_body'
protocol.o(.text+0x1b6b): undefined reference to `ap_die'
server/.libs/libmain.a(core.o): In function `ap_custom_response':
core.o(.text+0x157a): undefined reference to `ap_index_of_response'
server/.libs/libmain.a(core.o): In function `set_error_document':
core.o(.text+0x1656): undefined reference to `ap_index_of_response'
core.o(.text+0x167b): undefined reference to `ap_index_of_response'
server/.libs/libmain.a(core.o): In function `ap_limit_section':
core.o(.text+0x1db1): undefined reference to `ap_method_number_of'
server/.libs/libmain.a(core.o): In function `default_handler':
core.o(.text+0x413d): undefined reference to `ap_allow_methods'
core.o(.text+0x414b): undefined reference to `ap_discard_request_body'
core.o(.text+0x41b4): undefined reference to `ap_send_http_options'
core.o(.text+0x4369): undefined reference to `ap_meets_conditions'
server/.libs/libmain.a(request.o): In function `ap_sub_req_method_uri':
request.o(.text+0x1829): undefined reference to `ap_make_method_list'
request.o(.text+0x1848): undefined reference to `ap_copy_method_list'
request.o(.text+0x18bd): undefined reference to `ap_method_number_of'
server/.libs/libmain.a(request.o): In function `ap_sub_req_lookup_file':
request.o(.text+0x1c3b): undefined reference to `ap_make_method_list'
request.o(.text+0x1c5a): undefined reference to `ap_copy_method_list'
server/.libs/libmain.a(util_xml.o): In function `ap_xml_parse_input':
util_xml.o(.text+0x12): undefined reference to `ap_setup_client_block'
util_xml.o(.text+0x68): undefined reference to `ap_should_client_block'
util_xml.o(.text+0xc6): undefined reference to `ap_get_client_block'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/home/hfarag/Apache2-tar16/httpd-2_0_16'
make: *** [all-recursive] Error 1
Is it suppose to give these errors?
Why is it still looking for the http API?
what's the reason for having this option as part of the configuration
process?
Is it for future use? like making apache supports multiple protocol?
The reason I'm asking i'm looking into the possibilty of adding support for
multiple protocol under apache....
Thanks
Re: making apache 2.0 supports multiple protocols
Posted by Ryan Bloom <rb...@covalent.net>.
Hany,
Please look at httpd-pop3 at :pserver:anoncv@cvs.apache.org:/cvspublic/httpd-pop3.
It implements the POP3 protocol. The way it works, is that HTTP is always the last
protocol to be tried, so each of your modules will have an opportunity to handle
a request before the HTTP protocol does.
Ryan
On Tuesday 21 August 2001 09:22, Farag, Hany M (Hany) wrote:
> Hi All,
> I'm working right now on making apache 2.0 supports other protocols (ex:
> Beep, SOAP, iCAP, ...etc) and i'm doing it as seperate modules but The
> thing that i Realy not clear about is since http is currently impelemented
> within the Apache core, Doesn't this make it impossible to support the
> other protocols unless i make the Http protocol itself as a module.
> ex:
> if i have a module mod_SOAP() and i added it to the Apache server and then
> i have this command in the configuration file (httpd.conf) : SOAP_Protocol
> on
> and the serevr gets a request " method
> SOAP://www.test-soap.com/service1.cgi"
> won't that generate an http server error? if so is there anyway you can
> think of to get around it beside modifying the core(making http as a
> seperate module)
>
> Please Correct me if I'm wrong..
> Any help will be apperciated.
>
> Thanks
> Hany
>
>
>
> -----Original Message-----
> From: Farag, Hany M (Hany)
> Sent: Friday, August 17, 2001 3:24 PM
> To: 'new-httpd@apache.org'
> Subject: --disable-http
>
>
> when i'm configure apache 2.0.16 with:
> ./configure --disable-http
>
> and then make
>
> I get the following errors:
>
> modules/mappers/.libs/mod_negotiation.a(mod_negotiation.o): In function
> `handle_map_file':
> mod_negotiation.o(.text+0x3861): undefined reference to
> `ap_internal_redirect'
> modules/mappers/.libs/mod_dir.a(mod_dir.o): In function `handle_dir':
> mod_dir.o(.text+0x3d8): undefined reference to `ap_internal_redirect'
> modules/mappers/.libs/mod_actions.a(mod_actions.o): In function
> `set_script':
> mod_actions.o(.text+0x14b): undefined reference to `ap_method_number_of'
> modules/mappers/.libs/mod_actions.a(mod_actions.o): In function
> `action_handler':
> mod_actions.o(.text+0x3a1): undefined reference to
> `ap_internal_redirect_handler'
> modules/generators/.libs/mod_asis.a(mod_asis.o): In function
> `asis_handler': mod_asis.o(.text+0x1dd): undefined reference to
> `ap_internal_redirect_handler'
> modules/generators/.libs/mod_cgid.a(mod_cgid.o): In function
> `cgid_handler': mod_cgid.o(.text+0x1c8a): undefined reference to
> `ap_setup_client_block' mod_cgid.o(.text+0x1ce7): undefined reference to
> `ap_should_client_block' mod_cgid.o(.text+0x1d3f): undefined reference to
> `ap_get_client_block' mod_cgid.o(.text+0x1e1b): undefined reference to
> `ap_get_client_block' mod_cgid.o(.text+0x1f68): undefined reference to
> `ap_internal_redirect_handler'
> modules/generators/.libs/mod_cgid.a(mod_cgid.o): In function `include_cmd':
> mod_cgid.o(.text+0x2783): undefined reference to `ap_setup_client_block'
> mod_cgid.o(.text+0x2855): undefined reference to
> `ap_internal_redirect_handler'
> server/.libs/libmain.a(config.o): In function `ap_method_is_limited':
> config.o(.text+0xd69): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(util_script.o): In function
> `ap_scan_script_header_err_core':
> util_script.o(.text+0xbbd): undefined reference to `ap_meets_conditions'
> server/.libs/libmain.a(exports.o)(.data+0x788): undefined reference to
> `ap_send_error_response'
> server/.libs/libmain.a(exports.o)(.data+0x790): undefined reference to
> `ap_set_keepalive'
> server/.libs/libmain.a(exports.o)(.data+0x7a8): undefined reference to
> `ap_meets_conditions'
> server/.libs/libmain.a(exports.o)(.data+0x7b4): undefined reference to
> `ap_make_method_list'
> server/.libs/libmain.a(exports.o)(.data+0x7b8): undefined reference to
> `ap_copy_method_list'
> server/.libs/libmain.a(exports.o)(.data+0x7bc): undefined reference to
> `ap_method_list_do'
> server/.libs/libmain.a(exports.o)(.data+0x7c0): undefined reference to
> `ap_method_list_vdo'
> server/.libs/libmain.a(exports.o)(.data+0x7c4): undefined reference to
> `ap_method_in_list'
> server/.libs/libmain.a(exports.o)(.data+0x7c8): undefined reference to
> `ap_method_list_add'
> server/.libs/libmain.a(exports.o)(.data+0x7cc): undefined reference to
> `ap_method_list_remove'
> server/.libs/libmain.a(exports.o)(.data+0x7d0): undefined reference to
> `ap_clear_method_list'
> server/.libs/libmain.a(exports.o)(.data+0x7f0): undefined reference to
> `ap_index_of_response'
> server/.libs/libmain.a(exports.o)(.data+0x7f4): undefined reference to
> `ap_get_status_line'
> server/.libs/libmain.a(exports.o)(.data+0x7f8): undefined reference to
> `ap_setup_client_block'
> server/.libs/libmain.a(exports.o)(.data+0x7fc): undefined reference to
> `ap_should_client_block'
> server/.libs/libmain.a(exports.o)(.data+0x800): undefined reference to
> `ap_get_client_block'
> server/.libs/libmain.a(exports.o)(.data+0x804): undefined reference to
> `ap_discard_request_body'
> server/.libs/libmain.a(exports.o)(.data+0x818): undefined reference to
> `ap_method_number_of'
> server/.libs/libmain.a(exports.o)(.data+0x81c): undefined reference to
> `ap_method_name_of'
> server/.libs/libmain.a(exports.o)(.data+0x84c): undefined reference to
> `ap_http_header_filter'
> server/.libs/libmain.a(exports.o)(.data+0x874): undefined reference to
> `ap_internal_redirect'
> server/.libs/libmain.a(exports.o)(.data+0x878): undefined reference to
> `ap_internal_redirect_handler'
> server/.libs/libmain.a(exports.o)(.data+0x888): undefined reference to
> `ap_allow_methods'
> server/.libs/libmain.a(exports.o)(.data+0x88c): undefined reference to
> `ap_process_request'
> server/.libs/libmain.a(exports.o)(.data+0x890): undefined reference to
> `ap_die'
> server/.libs/libmain.a(protocol.o): In function `read_request_line':
> protocol.o(.text+0x10c3): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(protocol.o): In function `ap_read_request':
> protocol.o(.text+0x164b): undefined reference to `ap_make_method_list'
> protocol.o(.text+0x185c): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1916): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1988): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1a62): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1b1b): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1b29): undefined reference to `ap_discard_request_body'
> protocol.o(.text+0x1b6b): undefined reference to `ap_die'
> server/.libs/libmain.a(core.o): In function `ap_custom_response':
> core.o(.text+0x157a): undefined reference to `ap_index_of_response'
> server/.libs/libmain.a(core.o): In function `set_error_document':
> core.o(.text+0x1656): undefined reference to `ap_index_of_response'
> core.o(.text+0x167b): undefined reference to `ap_index_of_response'
> server/.libs/libmain.a(core.o): In function `ap_limit_section':
> core.o(.text+0x1db1): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(core.o): In function `default_handler':
> core.o(.text+0x413d): undefined reference to `ap_allow_methods'
> core.o(.text+0x414b): undefined reference to `ap_discard_request_body'
> core.o(.text+0x41b4): undefined reference to `ap_send_http_options'
> core.o(.text+0x4369): undefined reference to `ap_meets_conditions'
> server/.libs/libmain.a(request.o): In function `ap_sub_req_method_uri':
> request.o(.text+0x1829): undefined reference to `ap_make_method_list'
> request.o(.text+0x1848): undefined reference to `ap_copy_method_list'
> request.o(.text+0x18bd): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(request.o): In function `ap_sub_req_lookup_file':
> request.o(.text+0x1c3b): undefined reference to `ap_make_method_list'
> request.o(.text+0x1c5a): undefined reference to `ap_copy_method_list'
> server/.libs/libmain.a(util_xml.o): In function `ap_xml_parse_input':
> util_xml.o(.text+0x12): undefined reference to `ap_setup_client_block'
> util_xml.o(.text+0x68): undefined reference to `ap_should_client_block'
> util_xml.o(.text+0xc6): undefined reference to `ap_get_client_block'
> collect2: ld returned 1 exit status
> make[1]: *** [httpd] Error 1
> make[1]: Leaving directory `/home/hfarag/Apache2-tar16/httpd-2_0_16'
> make: *** [all-recursive] Error 1
>
>
> Is it suppose to give these errors?
> Why is it still looking for the http API?
> what's the reason for having this option as part of the configuration
> process?
> Is it for future use? like making apache supports multiple protocol?
>
> The reason I'm asking i'm looking into the possibilty of adding support for
> multiple protocol under apache....
>
> Thanks
--
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: making apache 2.0 supports multiple protocols
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Hany, please see the httpd-pop repository for an example of a module that
respects the POP protocol. It should serve as a reasonable model for your
SOAP support.
Bill
----- Original Message -----
From: "Farag, Hany M (Hany)" <hf...@lucent.com>
To: <ne...@apache.org>
Sent: Tuesday, August 21, 2001 11:22 AM
Subject: making apache 2.0 supports multiple protocols
> Hi All,
> I'm working right now on making apache 2.0 supports other protocols (ex:
> Beep, SOAP, iCAP, ...etc) and i'm doing it as seperate modules but The
> thing that i Realy not clear about is since http is currently impelemented
> within the Apache core, Doesn't this make it impossible to support the other
> protocols unless i make the Http protocol itself as a module.
> ex:
> if i have a module mod_SOAP() and i added it to the Apache server and then
> i have this command in the configuration file (httpd.conf) : SOAP_Protocol
> on
> and the serevr gets a request " method
> SOAP://www.test-soap.com/service1.cgi"
> won't that generate an http server error? if so is there anyway you can
> think of to get around it beside modifying the core(making http as a
> seperate module)
>
> Please Correct me if I'm wrong..
> Any help will be apperciated.
>
> Thanks
> Hany
>
>
>
> -----Original Message-----
> From: Farag, Hany M (Hany)
> Sent: Friday, August 17, 2001 3:24 PM
> To: 'new-httpd@apache.org'
> Subject: --disable-http
>
>
> when i'm configure apache 2.0.16 with:
> ./configure --disable-http
>
> and then make
>
> I get the following errors:
>
> modules/mappers/.libs/mod_negotiation.a(mod_negotiation.o): In function
> `handle_map_file':
> mod_negotiation.o(.text+0x3861): undefined reference to
> `ap_internal_redirect'
> modules/mappers/.libs/mod_dir.a(mod_dir.o): In function `handle_dir':
> mod_dir.o(.text+0x3d8): undefined reference to `ap_internal_redirect'
> modules/mappers/.libs/mod_actions.a(mod_actions.o): In function
> `set_script':
> mod_actions.o(.text+0x14b): undefined reference to `ap_method_number_of'
> modules/mappers/.libs/mod_actions.a(mod_actions.o): In function
> `action_handler':
> mod_actions.o(.text+0x3a1): undefined reference to
> `ap_internal_redirect_handler'
> modules/generators/.libs/mod_asis.a(mod_asis.o): In function `asis_handler':
> mod_asis.o(.text+0x1dd): undefined reference to
> `ap_internal_redirect_handler'
> modules/generators/.libs/mod_cgid.a(mod_cgid.o): In function `cgid_handler':
> mod_cgid.o(.text+0x1c8a): undefined reference to `ap_setup_client_block'
> mod_cgid.o(.text+0x1ce7): undefined reference to `ap_should_client_block'
> mod_cgid.o(.text+0x1d3f): undefined reference to `ap_get_client_block'
> mod_cgid.o(.text+0x1e1b): undefined reference to `ap_get_client_block'
> mod_cgid.o(.text+0x1f68): undefined reference to
> `ap_internal_redirect_handler'
> modules/generators/.libs/mod_cgid.a(mod_cgid.o): In function `include_cmd':
> mod_cgid.o(.text+0x2783): undefined reference to `ap_setup_client_block'
> mod_cgid.o(.text+0x2855): undefined reference to
> `ap_internal_redirect_handler'
> server/.libs/libmain.a(config.o): In function `ap_method_is_limited':
> config.o(.text+0xd69): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(util_script.o): In function
> `ap_scan_script_header_err_core':
> util_script.o(.text+0xbbd): undefined reference to `ap_meets_conditions'
> server/.libs/libmain.a(exports.o)(.data+0x788): undefined reference to
> `ap_send_error_response'
> server/.libs/libmain.a(exports.o)(.data+0x790): undefined reference to
> `ap_set_keepalive'
> server/.libs/libmain.a(exports.o)(.data+0x7a8): undefined reference to
> `ap_meets_conditions'
> server/.libs/libmain.a(exports.o)(.data+0x7b4): undefined reference to
> `ap_make_method_list'
> server/.libs/libmain.a(exports.o)(.data+0x7b8): undefined reference to
> `ap_copy_method_list'
> server/.libs/libmain.a(exports.o)(.data+0x7bc): undefined reference to
> `ap_method_list_do'
> server/.libs/libmain.a(exports.o)(.data+0x7c0): undefined reference to
> `ap_method_list_vdo'
> server/.libs/libmain.a(exports.o)(.data+0x7c4): undefined reference to
> `ap_method_in_list'
> server/.libs/libmain.a(exports.o)(.data+0x7c8): undefined reference to
> `ap_method_list_add'
> server/.libs/libmain.a(exports.o)(.data+0x7cc): undefined reference to
> `ap_method_list_remove'
> server/.libs/libmain.a(exports.o)(.data+0x7d0): undefined reference to
> `ap_clear_method_list'
> server/.libs/libmain.a(exports.o)(.data+0x7f0): undefined reference to
> `ap_index_of_response'
> server/.libs/libmain.a(exports.o)(.data+0x7f4): undefined reference to
> `ap_get_status_line'
> server/.libs/libmain.a(exports.o)(.data+0x7f8): undefined reference to
> `ap_setup_client_block'
> server/.libs/libmain.a(exports.o)(.data+0x7fc): undefined reference to
> `ap_should_client_block'
> server/.libs/libmain.a(exports.o)(.data+0x800): undefined reference to
> `ap_get_client_block'
> server/.libs/libmain.a(exports.o)(.data+0x804): undefined reference to
> `ap_discard_request_body'
> server/.libs/libmain.a(exports.o)(.data+0x818): undefined reference to
> `ap_method_number_of'
> server/.libs/libmain.a(exports.o)(.data+0x81c): undefined reference to
> `ap_method_name_of'
> server/.libs/libmain.a(exports.o)(.data+0x84c): undefined reference to
> `ap_http_header_filter'
> server/.libs/libmain.a(exports.o)(.data+0x874): undefined reference to
> `ap_internal_redirect'
> server/.libs/libmain.a(exports.o)(.data+0x878): undefined reference to
> `ap_internal_redirect_handler'
> server/.libs/libmain.a(exports.o)(.data+0x888): undefined reference to
> `ap_allow_methods'
> server/.libs/libmain.a(exports.o)(.data+0x88c): undefined reference to
> `ap_process_request'
> server/.libs/libmain.a(exports.o)(.data+0x890): undefined reference to
> `ap_die'
> server/.libs/libmain.a(protocol.o): In function `read_request_line':
> protocol.o(.text+0x10c3): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(protocol.o): In function `ap_read_request':
> protocol.o(.text+0x164b): undefined reference to `ap_make_method_list'
> protocol.o(.text+0x185c): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1916): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1988): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1a62): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1b1b): undefined reference to `ap_send_error_response'
> protocol.o(.text+0x1b29): undefined reference to `ap_discard_request_body'
> protocol.o(.text+0x1b6b): undefined reference to `ap_die'
> server/.libs/libmain.a(core.o): In function `ap_custom_response':
> core.o(.text+0x157a): undefined reference to `ap_index_of_response'
> server/.libs/libmain.a(core.o): In function `set_error_document':
> core.o(.text+0x1656): undefined reference to `ap_index_of_response'
> core.o(.text+0x167b): undefined reference to `ap_index_of_response'
> server/.libs/libmain.a(core.o): In function `ap_limit_section':
> core.o(.text+0x1db1): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(core.o): In function `default_handler':
> core.o(.text+0x413d): undefined reference to `ap_allow_methods'
> core.o(.text+0x414b): undefined reference to `ap_discard_request_body'
> core.o(.text+0x41b4): undefined reference to `ap_send_http_options'
> core.o(.text+0x4369): undefined reference to `ap_meets_conditions'
> server/.libs/libmain.a(request.o): In function `ap_sub_req_method_uri':
> request.o(.text+0x1829): undefined reference to `ap_make_method_list'
> request.o(.text+0x1848): undefined reference to `ap_copy_method_list'
> request.o(.text+0x18bd): undefined reference to `ap_method_number_of'
> server/.libs/libmain.a(request.o): In function `ap_sub_req_lookup_file':
> request.o(.text+0x1c3b): undefined reference to `ap_make_method_list'
> request.o(.text+0x1c5a): undefined reference to `ap_copy_method_list'
> server/.libs/libmain.a(util_xml.o): In function `ap_xml_parse_input':
> util_xml.o(.text+0x12): undefined reference to `ap_setup_client_block'
> util_xml.o(.text+0x68): undefined reference to `ap_should_client_block'
> util_xml.o(.text+0xc6): undefined reference to `ap_get_client_block'
> collect2: ld returned 1 exit status
> make[1]: *** [httpd] Error 1
> make[1]: Leaving directory `/home/hfarag/Apache2-tar16/httpd-2_0_16'
> make: *** [all-recursive] Error 1
>
>
> Is it suppose to give these errors?
> Why is it still looking for the http API?
> what's the reason for having this option as part of the configuration
> process?
> Is it for future use? like making apache supports multiple protocol?
>
> The reason I'm asking i'm looking into the possibilty of adding support for
> multiple protocol under apache....
>
> Thanks
>
>
Re: making apache 2.0 supports multiple protocols
Posted by Cliff Woolley <cl...@yahoo.com>.
On Tue, 21 Aug 2001, Ryan Bloom wrote:
> It is not possible to build Apache without HTTP. Nor is it easy to
> finish the job.
Oh well, so much for that idea. =-) I knew it was possible to use other
protocol modules, because it's obviously been done already... I thought I
remembered that the refactoring work made it possible to build without
http, but I was wrong. Oh well. At least you can preempt HTTP with your
alternate protocol.
--Cliff
--------------------------------------------------------------
Cliff Woolley
cliffwoolley@yahoo.com
Charlottesville, VA
Re: making apache 2.0 supports multiple protocols
Posted by Ryan Bloom <rb...@covalent.net>.
On Tuesday 21 August 2001 09:36, Cliff Woolley wrote:
> On Tue, 21 Aug 2001, Farag, Hany M (Hany) wrote:
> > I'm working right now on making apache 2.0 supports other protocols (ex:
> > Beep, SOAP, iCAP, ...etc) and i'm doing it as seperate modules but The
> > thing that i Realy not clear about is since http is currently
> > impelemented within the Apache core, Doesn't this make it impossible to
> > support the other protocols unless i make the Http protocol itself as a
> > module.
> >
> > Please Correct me if I'm wrong..
> > Any help will be apperciated.
> >
> >> when i'm configure apache 2.0.16 with:
> >> ./configure --disable-http
> >>
> >> and then make
> >>
> >> I get the following errors:
>
> You should *really* be using a newer version of Apache if you're trying to
> do things like this. HTTP is a separate module and has been for some
> time. A while back, Ryan and Greg S. and some of the others put some work
> into factoring out HTTP from the core as much as possible. I haven't
> tried it myself, but I'm pretty sure it *is* now possible to build without
> http enabled. Give it another try with the current CVS (or at least
> 2.0.22 or better) and see what happens.
It is not possible to build Apache without HTTP. Nor is it easy to finish the
job.
Ryan
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: making apache 2.0 supports multiple protocols
Posted by Cliff Woolley <cl...@yahoo.com>.
On Tue, 21 Aug 2001, Farag, Hany M (Hany) wrote:
> I'm working right now on making apache 2.0 supports other protocols (ex:
> Beep, SOAP, iCAP, ...etc) and i'm doing it as seperate modules but The
> thing that i Realy not clear about is since http is currently impelemented
> within the Apache core, Doesn't this make it impossible to support the other
> protocols unless i make the Http protocol itself as a module.
>
> Please Correct me if I'm wrong..
> Any help will be apperciated.
>
>> when i'm configure apache 2.0.16 with:
>> ./configure --disable-http
>>
>> and then make
>>
>> I get the following errors:
You should *really* be using a newer version of Apache if you're trying to
do things like this. HTTP is a separate module and has been for some
time. A while back, Ryan and Greg S. and some of the others put some work
into factoring out HTTP from the core as much as possible. I haven't
tried it myself, but I'm pretty sure it *is* now possible to build without
http enabled. Give it another try with the current CVS (or at least
2.0.22 or better) and see what happens.
--Cliff
--------------------------------------------------------------
Cliff Woolley
cliffwoolley@yahoo.com
Charlottesville, VA