Re: [AOLSERVER] BIG problem with Tcl8.4.(1|2)

2003-03-28 Thread Zoran Vasiljevic
On Thursday 27 March 2003 22:28, you wrote: Yes, of course, and it can often breaks things, right? Most users of cd/pwd seem to want to neglect the fact that the pwd state is per-process not per-thread, so perhaps it would be simpler just to give them that, thus side-stepping the locking

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Tomasz Kosiak
On Thu, 27 Mar 2003, Ayan George wrote: I'm trying to register a procedure to handle: http://www.foo.net/~user/ type URLs. I want to redirect the request to: http://members.foo.net/user/ I tried a couple of registerd procedures like: ns_register_proc

[AOLSERVER] problems with aolserver4 + openacs

2003-03-28 Thread Peter Alberer
Hi, Today i tried to run the new aolserver beta (did not try any other aolserver-4-beta till now), with openacs. It seems as if there are problems with the templating system on the aolserver side. In my master template there are some if,include and multiple tags. When trying to access the

[AOLSERVER] Aolserver 3.42 and nsunix

2003-03-28 Thread Wolfgang Winkler
Hi! Has anyone got nsvhr/nsunix to work with Aolserver 3.42? With 3.2 I have no problems, but the same configurations don't work with 3.42. As soon as I connect to the servers via nsvhr/nsunix they segfault. Connecting to the ports directly works without any problems. Thanks wiwo -- Digital

Re: [AOLSERVER] Aolserver 3.42 and nsunix

2003-03-28 Thread Ayan George
Wolfgang, I had the exact same problem quite a while ago. I couldn't pinpoint the problem so I wrote my own (smaller and simpler) front end that does the same thing. You can find it at: http://www.ayan.net/software/nsvirthost/nsvirthost-0.0.1.tar.gz It works pretty well. If you have

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Ayan George
Tomasz, It seems ns_register_proc ignores glob characters at the end of the pattern. ns_register_filter works fine. Thanks for the help. -ayan On Fri, 28 Mar 2003, Tomasz Kosiak wrote: It supports general url - directory mapping but also mappings /~user to user home directory. Module

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Tomasz Kosiak
On Fri, 28 Mar 2003, Ayan George wrote: Tomasz, It seems ns_register_proc ignores glob characters at the end of the pattern. ns_register_filter works fine. Indeed they are implemented very differently: - ns_register_filter uses somthing like string match on url pattern - ns_register_proc

Re: [AOLSERVER] Aolserver 3.42 and nsunix

2003-03-28 Thread Wolfgang Winkler
Hi! Thanks for your response. Some help to compile would be very nice. If I just type make I get some warnings and this error: main.c: In function `Np_UdsProxy': main.c:406: structure has no member named `msg_accrights' main.c:407: structure has no member named `msg_accrightslen' main.c: At top

Re: [AOLSERVER] Aolserver 3.42 and nsunix

2003-03-28 Thread Daniel P. Stasinski
Has anyone got nsvhr/nsunix to work with Aolserver 3.42? With 3 .2 I have no problems, but the same configurations don't work with 3.42. nsvhr/nsunix are probably broken for 3.4.2 but they work for 3.5.1 without problems. Be sure to copy it from CVS. Daniel P. Stasinski Software Engineer

Re: [AOLSERVER] Fwd: AOLServer 4

2003-03-28 Thread Nathan Folkman
We're trying to get in touch with the PHP team to address. This is one of the potential side effects of moving to 4.0 from prior 3.x versions since virtual server support is now back. Pretty easy to address - be sure to check out Mark's porting document:

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Nathan Folkman
Certainly something we can look into to - ideally in a way that would keep backwards compatibility. Want to take a crack at a proposal that address this issue across all effected procs? - Nathan On Friday, March 28, 2003, at 10:20 AM, Ayan George wrote: Why can't we just use POSIX regular

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Tim Moss
That sounds like a good idea. Espcially if you make the default behaviour whatever the current behaviour is. This will ensure backwards compatibility (with no changes to existing code). If you want the extra flexibility the regexp option gives you then you add it to your code and chaneg the

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Nathan Folkman
Agree. If you want to take a stab at implementing, and can provide a patch, we'll take a look and get it added to the core. Thanks in advance. - Nathan On Friday, March 28, 2003, at 01:17 PM, Tim Moss wrote: That sounds like a good idea. Espcially if you make the default behaviour whatever the

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Ayan George
Guys, During my lunch break, I wrote a small program to compare the execution of Tcl_StringMatch() (what ns_register_filter uses to match URLs) and Tcl_RegExpExec() (what I propose ns_register_filter should have the option of using). It looks like the regular expression stuff is just as fast (or

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Nathan Folkman
Thanks! Go for it. :-) Make sure you grab the head version of the code - that will ensure you have the latest 4.0 code. Once you've got something you're happy with, please submit the changes as a patch and we'll review. - Nathan On Friday, March 28, 2003, at 01:29 PM, Ayan George wrote:

Re: [AOLSERVER] Aolserver 3.42 and nsunix

2003-03-28 Thread Dossy
On 2003.03.28, Wolfgang Winkler [EMAIL PROTECTED] wrote: Has anyone got nsvhr/nsunix to work with Aolserver 3.42? With 3.2 I have no problems, but the same configurations don't work with 3.42. As soon as I connect to the servers via nsvhr/nsunix they segfault. Connecting to the ports

[AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Alexander Leyke
Hello, Tcl command ns_http queue $method $url causes access violation in Aolserver 4.0 beta 4 - note missing headers parameter in the command. The access violation is due to variable hdrs left uninitialized in the following block of code line 126: case HQueueIdx: if (objc 4 || objc

Re: [AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Alfred Werner
Has anyone on the aolserver core team taken a look at libcurl? http://curl.haxx.se They claim to be thread safe... There is a TCL wrapper at http://personal1.iddeo.es/andresgarci/tclcurl/english/ Doubtless this is old news to many, but it seems like it has so much to offer :) jab The TCL

Re: [AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Peter M. Jansson
Hey Alfred, How about using the Tcl wrapper and writing an AOLserver module to add curl support? I'm sure the core team would love a patch. You could verify the thread-safety claims. I'm sure the community would appreciate your work. Pete. Has anyone on the aolserver core team taken a look

Re: [AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Alfred Werner
I'm close .. I'll need it for a project right after the one I'm finishing up :) Any pointer to a good doc to show me what layer of interface you're talking about or a module that is similar/at the same layer? I take it the TCLcurl is a hand-rolled SWIG-ish kind of interface to the underlying C

Re: [AOLSERVER] Ns_PgExec looking in wrong place for plpgsql.so

2003-03-28 Thread Tom Jackson
Lamar Owen wrote: RH8.0 is not binary compatible with previous Red Hat distributions. You might want to recompile AOLserver -- 3.4 will compile fine on RH8. The main issue I had was I am using nsssl.so module, which I didn't have the source for. I thought it might not work on an upgrade from

Re: [AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Tom Jackson
Alfred Werner wrote: They claim to be thread safe... There is a TCL wrapper at http://personal1.iddeo.es/andresgarci/tclcurl/english What more do you need to do? If this a package, just load into AOLserver4.0 and be done with it. If it isn't, look at it to see how to make it into a tcl package.

[AOLSERVER] AOLserver4.0 Porting Note

2003-03-28 Thread Mark Page
The following information item may be helpful to those who are porting an existing AOLserver installation to AOLserver 4.0. The AOLserver C API functions Ns_CacheCreate Ns_CacheCreateSz in 4.0 now produce a Warning severity log entry if called with an already existing cache name. The Log

[AOLSERVER] TCLcurl .. WAS Re: [AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Alfred Werner
Roger dodger ... I'm just in the light research phase thinking about what I'll need for an upcoming project - doesn't seem like a big deal - it never is :) When I get to that point (or if I have some free time this weekend) I'll post here about how nicely it plays with aolserver. On Fri, 28 Mar

[AOLSERVER] CGI memory leaks

2003-03-28 Thread Matthew Krenzer
I know this subject was addressed a while ago but I'm curious to know if there has been any resolution to this. We have setup a linux box running aolserver 3.5 w/ tcl 8.4.2 and have performed the following tests: 1. Running a very simple perl cgi 2. Running an ADP to do the same as the cgi 3.

Re: [AOLSERVER] CGI memory leaks

2003-03-28 Thread C. R. Oldham
1. Running a very simple perl cgi Memory leak in the nscgi module? -- C. R. Oldham Director of Technology NCA CASI -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/

Re: [AOLSERVER] CGI memory leaks

2003-03-28 Thread Scott Goodwin
Hi Matthew, Sounds like a memory leak in nscgi. Can you send me the perl script and your nsd.tcl file? I'll see if I can duplicate the problem, track it down and fix it. thanks, /s. On Friday, March 28, 2003, at 04:57 PM, Matthew Krenzer wrote: I know this subject was addressed a while ago but

Re: [AOLSERVER] TCLcurl .. WAS Re: [AOLSERVER] Bug in tclhttp.c

2003-03-28 Thread Tom Jackson
Alfred, I hope you find it easy. cURL sounds like a nice package, even nicer that someone has created a tcl wrapper. I doubt that we will use it to replace the http server processing in AOLserver, but as a client package (making aolserver the client) it should be very helpful. --Tom Jackson

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Brett Schwarz
I believe in Tcl 8.4 that if regexp sees a simple pattern (i.e. one that string match could use), then it will use string match to process it. I am not sure where exactly that takes place, so I am not sure if that's what you are seeing or not. Maybe once Jeff gets back, he would have some input.

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Peter M. Jansson
Why can't we just use POSIX regular expressions for all of the ns_register* procedures? I'd be concerned about REs degrading performance. REs are usually significantly slower than glob matches, and the registered proc matcher will be called a _lot_. -- AOLserver - http://www.aolserver.com/

[AOLSERVER] Getting Machine/OS_user Information

2003-03-28 Thread Samer Abukhait
Hello, is there a known way to get the mac address and logged os_username through ns functions??? -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/

Re: [AOLSERVER] ns_register_proc

2003-03-28 Thread Brett Schwarz
I agree, but maybe we can add a option to the command, similar to what Tcl's switch and lsearch commands do (i.e. -glob -regexp, etc) --brett On Fri, 2003-03-28 at 07:43, Peter M. Jansson wrote: Why can't we just use POSIX regular expressions for all of the ns_register* procedures? I'd