Re: Use an Apache handler after declining another

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

 



static void register_hooks(apr_pool_t *pool)
{
    static const char *const succs[] = {"mod_example1.c", NULL };
    ap_hook_handler(example5_handler, NULL, succs, APR_HOOK_FIRST);
}
AP_DECLARE_MODULE(example5) =
{
    STANDARD20_MODULE_STUFF,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    register_hooks};


Sorry, I can't share the remaining code. I hope you can help me with this.
Thank you in advance

On Tue, Jul 19, 2016 at 5:37 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Tue, Jul 19, 2016 at 1:58 PM, Amlaan Kar <amlaan.kar@xxxxxxxxx> wrote:
> Thank You for answering. The method described above is not working.

Please describe not working..
Your handler does not run before the one you specified as successor ?

> Do I
> have to make any changes before using the above given code?
> PS: Both the handlers work properly individually

Sorry for asking but, did you replace "mod_running_after.c" with the
name of the module you want to run after yours?
Which is this module, an httpd builtin one?

Please show the code you are using.

Regards,
Yann.

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux