New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Compiling ngx_http_testcookie_filter_module
Hello
I'm trying to compile ngx_http_testcookie_filter_module and I get the following error:
/etc/testcookie-nginx-module-master/src/ngx_http_testcookie_filter_module.c: In function ‘ngx_http_testcookie_handler’:
/etc/testcookie-nginx-module-master/src/ngx_http_testcookie_filter_module.c:736:33: error: ‘NGX_HTTP_TEMPORARY_REDIRECT’ undeclared (first use in this function)
/etc/testcookie-nginx-module-master/src/ngx_http_testcookie_filter_module.c:736:33: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [objs/addon/src/ngx_http_testcookie_filter_module.o] Error 1
Comments
Call me a coward, but I detest monkeying with Nginx modules at compile time.
Try disabling IPV6.. so said the only internet thread on this error:
https://github.com/kyprizel/testcookie-nginx-module/issues/2