#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>



void main(){
	FILE *log;
	char buf[1024];
	printf("Content-Type: text/html\n\n");
	printf("HALLO\n");
	log = fopen("/tmp/apache_html.log","w");

	while ( fgets(buf,1024,stdin) != NULL ){
		fprintf(log,"%s",buf);
	}
	fflush(log);

	exit(0);
}
