[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Writting own module

On Wed, Apr 11, 2018 at 5:47 AM, Hemant Chaudhary
<hemantdude.chaudhary@xxxxxxxxx> wrote:
> Hi All,
> I am writing my own module just to check process flow. I am bale to start
> the server successfully after add this module but while sending request from
> browser, I am getting error that requested URL is not found on server.
> Whereas without the module everything works fine.

Your logging call looks suspicious. You should use _rerror since your
context has request_rec passed to it.
I have no idea if passing a NULL to _perror is safe.

Generally: Try a command-line client and the error log to get more specifics.
A handler that returns DECLINED and does nothing else should not cause
an HTTP error but browser output is not helpful for PD.

To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-users/msg02454.html on line 90
Call Stack
10.0007363504{main}( ).../msg02454.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-users/msg02454.html on line 90
Call Stack
10.0007363504{main}( ).../msg02454.html:0