Im planning to port LIGHTTPD to my embedded system. I do not have fork () system call in my environment. I could see #define HAVE_FORK in lighttpd sources, if this is not defined lighttpd will not make any fork calls. So far so good..
But in one of the lighttpd module "mod_cgi", I can see a fork() call which is not protected by the statement if (HAVE_FORK) { ...}
Is there a way to avoid this fork () call in "mod_cgi" also, can I disable this module during compilation ?
Your help is greatly appreciated, can some one comment of this please.