[users@httpd] Using mod_security to Parse XML File

2016-10-15 Thread Amlaan Kar
I have created a handler in Apache which is supposed to parse the URL entered. If the conditions defined by the handler are satisfied, the handler returns DECLINED AND the page requested is open. If not, the handler displays "Rejected". However, the problem I am facing is that when I am trying to

Re: [users@httpd] Use an Apache handler after declining another

2016-07-19 Thread Amlaan Kar
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.

Re: [users@httpd] Use an Apache handler after declining another

2016-07-19 Thread Amlaan Kar
s }; Their configuration directives are as given below: SetHandler example1-handler SetHandler example5-handler On Tue, Jul 19, 2016 at 6:01 PM, Yann Ylavic <ylavic@gmail.com> wrote: > On Tue, Jul 19, 2016 at 2:15 PM, Amlaan Kar <amlaan@gmail.com> wro

Re: [users@httpd] Use an Apache handler after declining another

2016-07-19 Thread Amlaan Kar
, 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@gmail.com> wrote: > On Tue, Jul 19, 2016 at 1:58 PM, Amlaan Kar <amlaan@gmail.com> wrote: &g

Re: [users@httpd] Use an Apache handler after declining another

2016-07-19 Thread Amlaan Kar
e, Jul 19, 2016 at 1:58 PM, Amlaan Kar <amlaan@gmail.com> 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 > > ha

Re: [users@httpd] Use an Apache handler after declining another

2016-07-19 Thread Amlaan Kar
12:29 PM, Amlaan Kar <amlaan@gmail.com> wrote: > > I have two handlers to be accessed. My motive is to use the second > handler > > if the first handler returns DECLINED. > > > > I have tried various combinations of SetHandler, AddHandler and AddType > but > &g

[users@httpd] Use an Apache handler after declining another

2016-07-19 Thread Amlaan Kar
I have two handlers to be accessed. My motive is to use the second handler if the first handler returns DECLINED. I have tried various combinations of SetHandler, AddHandler and AddType but none has worked as overriding takes place in all of these combinations. Is there any method in Apache to

Re: [users@httpd] Run PHP Handler after running my handler Apache

2016-07-19 Thread Amlaan Kar
to be the only way to make it work. On Tue, Jul 19, 2016 at 11:44 AM, Nick Kew <n...@apache.org> wrote: > On Tue, 2016-07-19 at 10:45 +0530, Amlaan Kar wrote: > > I have created a handler in Apache > > Sounds like your module's processing should be hooked up > earlier in the

Re: [users@httpd] Run PHP Handler after running my handler Apache

2016-07-19 Thread Amlaan Kar
at 11:44 AM, Nick Kew <n...@apache.org> wrote: > On Tue, 2016-07-19 at 10:45 +0530, Amlaan Kar wrote: > > I have created a handler in Apache > > Sounds like your module's processing should be hooked up > earlier in the cycle. It can then set the handler either > to PHP o

[users@httpd] Run PHP Handler after running my handler Apache

2016-07-18 Thread Amlaan Kar
I have created a handler in Apache which is supposed to parse the URL entered. If the conditions defined by the handler are satisfied, the handler returns DECLINED AND the page requested is open. If not, the handler displays "Rejected". However, the problem I am facing is that when I am trying to