Re: Use an Apache handler after declining another

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

 



On Tue, Jul 19, 2016 at 2:15 PM, Amlaan Kar <amlaan.kar@xxxxxxxxx> wrote:
> 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.

OK, so example5_handler() runs and returns DECLINED, but
example1_handler() does not run at all?

How is example1_handler hooked, which handler is taking the request?
Any special configuration in httpd.conf (*Handler) for these modules?

---------------------------------------------------------------------
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