fprintf(stderr, "Processing config directory: %s\n", fname); fprintf(stderr, " Processing config file: %s\n", fnew->fname); Lines 1231 and 1268 from src/main/http_config.c should be commented out. It sends msgs to the stderr when starting apache, and that's passed to x(inetd) and messes up the headers i just added a // in the beginning of those 2 lines and i was able to run apache just fine on xinetd with those 2 lines it only works using IE, other browsers like Firefox don't work PS: i tested this on apache1.3.34 and .37 here's my /etc/xinetd.d/apache conf ---------------------------- service http { disable = no socket_type = stream wait = no user = root server = /usr/sbin/apache server_args = -d /etc/apache -f httpd.conf port = 80 } -------------------------------------------
http://httpd.apache.org/docs/1.3/mod/core.html#servertype "Inetd mode is no longer recommended and does not always work properly. Avoid it if at all possible." Apache 1.3 is obsolete, and is only in the tree for those that are unable to move to 2.0. Only security fixes will be provided.