Re: Use an Apache handler after declining another

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

 



What the example5-handler does is that it parses the url entered and if the url does not satisfy the given conditions, displays a message. However, if the conditions are satisfied by the url entered the example5-handler returns DECLINED.

This is where the example1-handler is called and executed.

Besides, can I execute a php handler in place of example1-handler?

If I am confusing you, should I share the example5-handler code with you?

On Tue, Jul 19, 2016 at 7:54 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Tue, Jul 19, 2016 at 4:21 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
>
> There are other ways to do this (by setting an environment variable
> with for example SetEnvIf, and checking it in your handler), in any
> case a DECLINing handler should not have to deal with r->handler
> unless it knows which handler to force next.

By the way, your module is possibly not a handler, why not use the
fixup hook or similar?

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