httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <>
Subject Re: Linking sqlite in to apache module
Date Mon, 13 Jul 2015 09:11:50 GMT
On 13 Jul 2015, at 10:21, Prakash Premkumar <> wrote:
> I'm trying to call sqlite function from my apache module.
> The source code for the module can be found here:
> When I navigate to localhost/ : I get It Works! message
> But when I naviage to any other URL like localhost/asd
> I get  the following response
> No data received

You may want to set a 

	 ap_set_content_type(r, "text/html");

before ap_rput()ing data. Secondly I woud sprinkle a few lines like:

    ap_log_perror(file, line, APLOG_MODULE_INDEX, APLOG_NOTICE, 0, 
		r->pool, “Past %s:%d", __FILE__, __LINE__);

in your code - to see where it gets in the hook handler. Tail the error log to see what is
going on.

View raw message