Re: [AOLSERVER] ns_register_filter problem: proc not found AOLserver HEAD

2003-03-03 Thread Tom Jackson
So I'm guessing noone else had this issue? Seems like filters are hosed. --Tom Jackson Tom Jackson wrote: I am running a minimum current checkout of AOLserver. My init.tcl file has the following: proc myfilter { } { ns_return 200 text/plain Hi there return filter_return } ns_register_filter

Re: [AOLSERVER] ns_register_filter problem: proc not found AOLserver HEAD

2003-03-03 Thread Peter M. Jansson
Sorry I didn't really read this sooner. I've got a preauth filter in my 4.0b2 setup, and it's working fine. I notice you declared your filter with no arguments, but I declared mine with this: proc some_filter { args } { Maybe it doesn't like being declared as having no arguments? Mine

Re: [AOLSERVER] ns_register_filter problem: proc not found AOLserver HEAD

2003-03-03 Thread Tom Jackson
Yes, got that, I took it out to test what the effect would be. But I did just verify that now when you have an incorrect number of arguments to a filter, AOLserver just logs the error and closes the connection. I'll check into the exact bug here. Must be a return code that is being over used.

[AOLSERVER] ns_register_filter problem

2003-02-17 Thread Ross Simpson
Hello, I'm trying to use ns_register_filter, and am running into difficulties. I have the following code in an init.tcl: ns_register_filter postauth GET /*/bob mqa.processHostedRequest ns_register_filter postauth POST /*/bob mqa.processHostedRequest mqa.processHostedRequest looks like

Re: [AOLSERVER] ns_register_filter problem

2003-02-17 Thread Dossy
On 2003.02.17, Ross Simpson [EMAIL PROTECTED] wrote: I'm trying to use ns_register_filter, and am running into difficulties. That's because you want to use ns_register_proc, not ns_register_filter. -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer

Re: [AOLSERVER] [MLIST] [AOLSERVER] ns_register_filter problem

2003-02-17 Thread David Walker
You want filter_return instead of filter_break filter_break just stops running filters and continues with the connection On Monday 17 February 2003 02:41 pm, Ross Simpson wrote: Hello, I'm trying to use ns_register_filter, and am running into difficulties. I have the following code in an

Re: [AOLSERVER] ns_register_filter problem

2003-02-17 Thread Ross Simpson
Dossy, The problem with ns_register_proc is that it expects the requested file to exist -- something I don't want. I want a proc run for any request matching a pattern, and after that proc runs, for the connection to be closed. David Walker's post about returning filter_return seems to have

Re: [AOLSERVER] ns_register_filter problem

2003-02-17 Thread Peter M. Jansson
On Mon, 17 Feb 2003, Ross Simpson wrote: The problem with ns_register_proc is that it expects the requested file to exist -- something I don't want. No it doesn't.

Re: [AOLSERVER] ns_register_filter problem

2003-02-17 Thread Dossy
On 2003.02.17, Ross Simpson [EMAIL PROTECTED] wrote: The problem with ns_register_proc is that it expects the requested file to exist -- something I don't want. I want a proc run for any request matching a pattern, and after that proc runs, for the connection to be closed. That's strange --

Re: [AOLSERVER] ns_register_filter problem

2003-02-17 Thread Tom Jackson
Dossy wrote: On 2003.02.17, Ross Simpson [EMAIL PROTECTED] wrote: The problem with ns_register_proc is that it expects the requested file to exist -- something I don't want. I want a proc run for any request matching a pattern, and after that proc runs, for the connection to be closed.