No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
Hello, I am embarking on my first module and using the Apache provided example to dump my module's configuration as my starting point I’m having no real success. I have configured everything as per the sample and compiled and configured using: sudo apxs -i -a -n mod_graphing -c mod_graphing.c I

Re: No content returned from directive handler sample.

2019-07-30 Thread Eric Covener
On Tue, Jul 30, 2019 at 11:07 AM Bill Moo wrote: > > Hello, > > I am embarking on my first module and using the Apache provided > example to dump my module's configuration as my starting point I’m > having no real success. > > I have configured everything as per the sample and compiled and > confi

Re: No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
Hey, thanks for the quick reply. But I'll be honest and confess to not knowing exactly what you are meaning. If I do understand correctly then the Location is correct but the Directory entry needs to be /var/www/html/info is this correct? On Tue, 30 Jul 2019 at 16:17, Eric Covener wrote: > > On T

Re: No content returned from directive handler sample.

2019-07-30 Thread Eric Covener
On Tue, Jul 30, 2019 at 11:41 AM Bill Moo wrote: > > Hey, thanks for the quick reply. But I'll be honest and confess to not > knowing exactly what you are meaning. If I do understand correctly > then the Location is correct but the Directory entry needs to be > /var/www/html/info is this correct?

Re: No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
Well I have tired what you suggested Eric but to no avail so regrettably no further forward. I have even tried several variations in both the Location and Directory entries. The Apache2 install I have is stock on Ubuntu 18.04 so I don't think there are any proxying modules in place. Can you, or i

Re: No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
If it help anyone then here if the code I am using: /* module mod_graphing.c: */ #include #include "apr_hash.h" #include "ap_config.h" #include "ap_provider.h" #include "httpd.h" #include "http_core.h" #include "http_config.h" #include "http_log.h" #include "http_protocol.h" #include "http_reques

RE: [EXTERNAL] Re: No content returned from directive handler sample.

2019-07-30 Thread Nebergall, Christopher
Have you seen this example? https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x/modules/examples/mod_example_hooks.c It will show you how to log at the very least. -Topher -Original Message- From: Bill Moo Sent: Tuesday, July 30, 2019 11:06 AM To: [email protected] S

Re: [EXTERNAL] Re: No content returned from directive handler sample.

2019-07-30 Thread Bill Moo
No I hadn't so thank you Christopher. On Tue, 30 Jul 2019 at 17:37, Nebergall, Christopher wrote: > > Have you seen this example? > > https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x/modules/examples/mod_example_hooks.c > > It will show you how to log at the very least. > > -Topher > -