Hola todos,
Estoy tratando de llamar al módulo Apache lua desde "mod_proxy_wstunnel.c" para explotar las funciones mod_lua.
Adjunto mi código [mod_proxy_wstunnel.c]:
... #include "#include "../../mod_lua.h" ... ... static void ap_proxy_http_register_hook(apr_pool_t *p) { proxy_hook_scheme_handler(proxy_wstunnel_handler, NULL, NULL, APR_HOOK_FIRST); proxy_hook_canon_handler(proxy_wstunnel_canon, NULL, NULL, APR_HOOK_FIRST); ap_hook_handler(lua_handler, NULL, NULL, APR_HOOK_MIDDLE); // added line }Agregué ap_hook_handler (lua_handler, NULL, NULL, APR_HOOK_MIDDLE); línea para llamar al controlador mod_lua.
Cuando compilo, aparece este error: mod_proxy_wstunnel.c:19:10: error fatal: ../../mod_lua.h: No such file or directory 19 | #incluir "../../mod_lua.h"
Cualquier ayuda o idea es bienvenida. Gracias por adelantado.