Apache Module error
am 20.06.2007 00:04:30 von vincenzo.bacarellaHi,
we are trying to create an apache module which catch web requests and
does evaluation of the content_type string.
Here a snippet:
.....
char *type = ap_table_get(r->headers_in, "Content-Type");
char *posizione = strstr(type,"html");
.....
....but when we evaluate posizione....
if (posizione == NULL) return OK;
I get a blank page with header RESPONSE: HTTP/0.9 200 OK - probably
there is a runtime error. I am a newbie in Apache Modules, please let
me know where is the error.
Thanks!