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: '[EMAIL PROTECTED]'
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