Re: [AOLSERVER] Discussing AOLserver at the Tcl/Tk conference

2011-10-31 Thread Alexey Pechnikov
I don't know the fast Tcl extension to parse HTTP headers. May be wrapping this project https://github.com/joyent/http-parser will be useful to build pure Tcl web servers. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from

Re: [AOLSERVER] URL handling produce segfault

2011-07-05 Thread Alexey Pechnikov
automatically but debugging in this situation is not easy. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can

[AOLSERVER] URL handling produce segfault

2011-07-04 Thread Alexey Pechnikov
1. It's work fine: http://localhost:8100/json/object/search/?q=%D1%82%D0%B0%D0%B2%D1%80*+2010 2. It's fail: http://localhost:8100/json/object/search/?q=%D1%82%D0%B0%D0%B2%D1%80*+2011 AOL Log: [-default:0-] Fatal: received fatal signal 11 -- Best regards, Alexey Pechnikov. http

[AOLSERVER] How to use connection functions from libnsd.so

2011-06-19 Thread Alexey Pechnikov
). -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] How to use connection functions from libnsd.so

2011-06-19 Thread Alexey Pechnikov
.  Was always a good idea, eg a Tcl command that creates a server instance, but would require a lot of refactoring the core. Jim Sent from a phone On Jun 19, 2011, at 8:48 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: $ tclsh % load /usr/lib/aolserver4/lib/libnsd.so Is it possible

Re: [AOLSERVER] 2Gb log file problem

2011-05-17 Thread Alexey Pechnikov
2011/5/17 Jeff Rogers dv...@diphi.com: Alexey Pechnikov wrote: 2011/5/17 Jeff Rogersdv...@diphi.com: Undocumented behaviour is bug, isn't it? I didn't suggest that it wasn't, I only offered a possible workaround for you to solve the immediate problem facing you. Thx, I use daemontools

[AOLSERVER] 2Gb log file problem

2011-05-16 Thread Alexey Pechnikov
With 2Gb size of log file all scripts don't work and the log file don't growing. Only static files are serves -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com

Re: [AOLSERVER] 2Gb log file problem

2011-05-16 Thread Alexey Pechnikov
2011/5/17 Jeff Rogers dv...@diphi.com: Undocumented behaviour is bug, isn't it? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF

Re: [AOLSERVER] Feature request: ns_querygetarray function

2011-05-11 Thread Alexey Pechnikov
) and packet import?... All these operations can be realised easy with ns_querygetarray function. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body

Re: [AOLSERVER] Feature request: ns_querygetarray function

2011-05-11 Thread Alexey Pechnikov
OpenACS and includes some basic protections. ACS is very complex solution. Custom AOL-based ORM (http://en.wikipedia.org/wiki/Object-relational_mapping) for AJAX applications may be extremly smaller than ACS. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http

Re: [AOLSERVER] Feature request: ns_querygetarray function

2011-05-11 Thread Alexey Pechnikov
tokenization after additional conversation will be not easy. And so on. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER

Re: [AOLSERVER] Feature request: ns_querygetarray function

2011-05-11 Thread Alexey Pechnikov
connection handler for each thread is good and fast solution. As example: ns_ictl trace create { package require sqlite3 ... sqlite3 db /tmp/test.db db timeout 1 ... } -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself

Re: [AOLSERVER] Feature request: ns_querygetarray function

2011-05-10 Thread Alexey Pechnikov
. As example /?a=firsta=secondb=1a=thirdb=3 But [ns_querygetall a] {first second third} [ns_querygetall b] {1 3} Of course, these are _not_ the 3 rows becouse value [lindex [ns_querygetall b] 2] = is invalid! -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http

Re: [AOLSERVER] Feature request: ns_querygetarray function

2011-05-09 Thread Alexey Pechnikov
-tcl package and tcllib json package... -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave

[AOLSERVER] Feature request: ns_querygetarray function

2011-05-08 Thread Alexey Pechnikov
foreach k [dict keys $info] { lappend row $k [lindex [dict get $info $k] $i] } lappend infoT $row } # {name name1 id id1 ...} {name name2 id id2 ...} return $infoT } -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http

Re: [AOLSERVER] AOLserver, nginx, and port numbers

2011-02-03 Thread Alexey Pechnikov
of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com

Re: [AOLSERVER] Does not work ns_return + zlib

2011-01-14 Thread Alexey Pechnikov
: On Mon, Dec 6, 2010 at 9:13 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: I'm see the code in connio.c: /* * GZIP the content when not streaming if enabled and the content * length is above the minimum. */ if (!stream (conn-flags NS_CONN_GZIP

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-19 Thread Alexey Pechnikov
. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank. -- Best regards, Alexey Pechnikov. http

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-06 Thread Alexey Pechnikov
into how ns_zlib is supposed to work. Maybe this is a total lack of documentation problem. tom jackson On Wed, Dec 1, 2010 at 10:19 AM, Alexey Pechnikov pechni...@mobigroup.ru wrote: This work correct: ns_register_proc GET /test ad_test_proc proc ad_test_proc {ignore} { set gzip

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
is there any reason you're not just using ns_returnz ? There is no ns_returnz function in upstream AOL repository: $ git clone git://github.com/aolserver/aolserver $ cd aolserver/ $ rgrep ns_returnz . Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
, Alexey Pechnikov wrote: is there any reason you're not just using ns_returnz ? There is no ns_returnz function in upstream AOL repository: $ git clone git://github.com/aolserver/aolserver $ cd aolserver/ $ rgrep ns_returnz . hmmm, I guess it's one of the modules that Dossy hasn't

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
Can you help me to resolv the problem? ns_returnz: compress2 failed, status=-5 -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
. In other words, you don't have to edit your site code to get compression with ns_zlib. tom jackson -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
://localhost:8200/test 2/dev/null| hexdump 000 8b1f 0008 0300 492b 2e2d 0001 010 7e0c d87f 0004 018 But is possible to disable all output translations by ns_return? Where is documented how ns_return process the data?.. -- Best regards, Alexey Pechnikov. http://pechnikov.tel

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
-nonewline $fd $gzip close $fd puts [exec zcat /tmp/test.gz ] hello 2010/12/1 Alexey Pechnikov pechni...@mobigroup.ru This work correct: ns_register_proc GET /test ad_test_proc proc ad_test_proc {ignore} { set gzip [ns_zlib gzip test] set time [ns_httptime [ns_time

Re: [AOLSERVER] Does not work ns_return + zlib

2010-12-01 Thread Alexey Pechnikov
]] ns_write HTTP/1.0 200 OK Content-Type: text/plain; charset=utf-8 Content-Encoding: gzip \n ns_write $gzip Can somebody to add these examples to AOL documentation? -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list

[AOLSERVER] Does not work ns_return + zlib

2010-11-30 Thread Alexey Pechnikov
$i] set value [ns_set value $headers $i] append result $key: $value\n } ns_updateheader Content-Encoding gzip ns_return 200 text/plain [ns_zlib gzip $result] } -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com

Re: [AOLSERVER] How about fossil? (Was: Git on SourceForge)

2010-11-18 Thread Alexey Pechnikov
between Fossil and stone tablets, I would choose stone tablets. Fossil lives up to its name. tom jackson -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com

Re: [AOLSERVER] AOLserver 4.5.1 crashing with max connections per thread messages

2010-11-18 Thread Alexey Pechnikov
-- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

[AOLSERVER] Debian patch for util/nsinstall-man.sh

2010-11-15 Thread Alexey Pechnikov
Hello! I think the attached patch is useful for anybody. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email

Re: [AOLSERVER] Site hanging

2010-11-07 Thread Alexey Pechnikov
. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email

Re: [AOLSERVER] WebSockets in AOLserver: get the full request body

2010-11-01 Thread Alexey Pechnikov
client is not good idea when you have a lot of client connections. -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email

Re: [AOLSERVER] WebSockets in AOLserver: get the full request body

2010-10-31 Thread Alexey Pechnikov
How about this: set chan [ns_conn contentchannel] fconfigure $chan -translation binary puts -nonewline [read $chan [ns_conn contentlength]] -- Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com

Re: [AOLSERVER] AOLserver on GitHub

2010-04-12 Thread Alexey Pechnikov
convertor is exists. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field

Re: [AOLSERVER] Bug in gzip compression module

2009-10-13 Thread Alexey Pechnikov
directory is here http://mobigroup.ru/debian/pool/main/a/aolserver4/ Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER

[AOLSERVER] Bug in gzip compression module

2009-10-12 Thread Alexey Pechnikov
. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] 3 aolserver questions reagrding calender/drop down list/security

2009-09-29 Thread Alexey Pechnikov
count of columns and some other (same as low-density matrix). And of cource we can use strict typing for all fields where it is more useful. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email

Re: [AOLSERVER] 3 aolserver questions reagrding calender/drop down list/security

2009-09-26 Thread Alexey Pechnikov
test; real|1.0e+21 real|100.0 integer|1 text|The test value with ' And strict field typing can be released by constraints or triggers or collations. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply

Re: [AOLSERVER] 3 aolserver questions reagrding calender/drop down list/security

2009-09-24 Thread Alexey Pechnikov
]; select '999'::int; Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your

Re: [AOLSERVER] Fatal signal 11 error?

2009-09-08 Thread Alexey Pechnikov
from the debian lenny repository deb http://mobigroup.ru/debian/ lenny main contrib non-free deb-src http://mobigroup.ru/debian/ lenny main contrib non-free This version work fine on my production servers. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http

[AOLSERVER] cache function for adp pages output

2009-09-03 Thread Alexey Pechnikov
error Unknown params to ns_adp_puts hook function: [info level 0] } } === P.S. Code comments is on russian lang and I remove it. Function ns_adp_append is not used by me. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com

[AOLSERVER] Support for HTTP 1.1 byte range requests?

2009-09-03 Thread Alexey Pechnikov
Hello! Can AOL 4.5.1 perform byte range requests? Version 3.3+ad13 did have this support... Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body

Re: [AOLSERVER] AOLServer 4.x blindly reporting X-Forwarded-For value in logs

2009-08-18 Thread Alexey Pechnikov
Hello! You can use HAProxy or other reverse-proxy for more performance and logging. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF

Re: [AOLSERVER] How to make ns_return/ns_respond return the same thing as ns_returnfile

2009-05-27 Thread Alexey Pechnikov
Hello! On Wednesday 27 May 2009 18:18:26 Matt Haggard wrote: Anyone have any help? You did read file in text mode. This article can help: http://wiki.tcl.tk/1180 Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list

[AOLSERVER] ns_sendmail is wrong for non-ascii strings

2009-05-26 Thread Alexey Pechnikov
] } } Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field

Re: [AOLSERVER] openid

2009-05-25 Thread Alexey Pechnikov
Hello! Can any send me copy of OpenID library for AOL? I did find discussion 1 year old about this. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1 [solved]

2009-05-13 Thread Alexey Pechnikov
locale is non-english one but I stupidly forgot about this In my previous mail is attached the fixed patch: http://mobigroup.ru/files/aol4.5.1/httptime.c.diff Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-12 Thread Alexey Pechnikov
as the aolserver). This return the correct result: catch {exec /tmp/time-format} msg ns_log Notice $msg [12/May/2009:14:56:47][15868.3082901168][-main-] Notice: Thu, 01 Jan 1970 00:00:00 GMT Best regards, Alexey Pechnikov. http

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-12 Thread Alexey Pechnikov
U strftime@@GLIBC_2.2.5 $ nm /usr/local/src/aolserver-4.5.1/nsd/libnsd.so | fgrep strf U strftime@@GLIBC_2.2.5 I didn't build AOL with debugging symbols. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1 [solved]

2009-05-12 Thread Alexey Pechnikov
); return pds-string; Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field

Re: [AOLSERVER] Diagnosing an AOLserver performance problem

2009-05-12 Thread Alexey Pechnikov
. Set stacksize to [expr 256*1024] if this enough. 6. Disable debug. And of course you may enable statistics. There are a lot of helpful information in AOL stats. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-11 Thread Alexey Pechnikov
Hello! On Monday 11 May 2009 11:02:09 Gustaf Neumann wrote: What operating system do you use? My operation system is debian lenny. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

Re: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-10 Thread Alexey Pechnikov
*/ strftime(buf, 40, %a, %d %b %Y %H:%M:%S GMT, tmPtr); So, is your locale set to an english one? My locale is ru_RU.UTF-8. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

Re: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-10 Thread Alexey Pechnikov
force a LANG/LOCALE to avoid unexpected behavior... It's bad because russian strings in scripts and from databases wll be corrupted. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

[AOLSERVER] Support for HTTP 1.1 byte range requests?

2009-05-10 Thread Alexey Pechnikov
Hello! Can AOL 4.5.1 perform byte range requests? Version 3.3+ad13 did have this support... May be I can adopt some patches for new AOL version? Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send

Re: [AOLSERVER] Fwd: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-10 Thread Alexey Pechnikov
1970 00:00:00 GMT % ns_parsehttptime Thu, 1 Jan 1970 00:00:00 GMT invalid time: Thu, 1 JAn 1970 00:00:00 GMT On the last one, notice that the month gets converted to JAn. Hm, I'm get the same result for my ru_RU.UTF-8 locale. Best regards, Alexey Pechnikov. http://pechnikov.tel

[AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-09 Thread Alexey Pechnikov
Hello! As I did find [ns_httptime 0] Thu, 1 Jan 1970 00:00:00 GMT It's wrong! Correct value is Thu, 01 Jan 1970 00:00:00 GMT. So cache control by headers If-Modified-Since and If-None-Match refused. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http

Re: [AOLSERVER] ns_httptime format error in AOL 4.5.1

2009-05-09 Thread Alexey Pechnikov
regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] auto-redirects url problem

2009-05-04 Thread Alexey Pechnikov
} _ns_returnredirect $proto://[ns_set get [ns_conn headers] Host]$url } } } This work fine for me. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

Re: [AOLSERVER] auto-redirects url problem

2009-05-04 Thread Alexey Pechnikov
Hello! Thanks, this is good example. Really, I may replace [ns_conn location] and [ns_info server] too. I did forget it. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists

[AOLSERVER] auto-redirects url problem

2009-05-03 Thread Alexey Pechnikov
simple? (For non-standart port is similar problem). Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You

Re: [AOLSERVER] auto-redirects url problem

2009-05-03 Thread Alexey Pechnikov
of features but there are a few examples. May I use init script for all interps for this? Is it correct way? Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body

Re: [AOLSERVER] AOLServer+pound problem

2009-05-02 Thread Alexey Pechnikov
:8000 Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field

Re: [AOLSERVER] AOLServer+pound problem

2009-05-02 Thread Alexey Pechnikov
jail pid = /stunnel4.pid ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 [https78] cert = /etc/stunnel/mobigroup.pem accept = 213.148.6.78:443 connect = 213.148.6.78:80 xforwardedfor = yes == Best regards, Alexey Pechnikov. http

Re: [AOLSERVER] AOLServer+pound problem

2009-04-30 Thread Alexey Pechnikov
as https proxy for http AOL sites now. Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject

Re: [AOLSERVER] AOLServer+pound problem

2009-04-30 Thread Alexey Pechnikov
127.0.0.1:8001 cookie stable1 check ... serverid cookie is defined by server main and _isn't needed_ to modify this value by HAProxy. But HAProxy always damage cookies. The directive appsession serverid len 10 timeout 3h is not useful too. Best regards, Alexey Pechnikov. http://pechnikov.tel

[AOLSERVER] AOLServer+pound problem

2009-04-29 Thread Alexey Pechnikov
HeadDeny X-SSL-.* HeadRequire Host:.*offline.mts.mobigroup.ru.* BackEnd Address 127.0.0.1 Port8000 End End Best regards, Alexey Pechnikov

Re: [AOLSERVER] missing access log entries

2009-04-16 Thread Alexey Pechnikov
I must apply now? Best regards, Alexey Pechnikov. http://pechnikov.tel/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field

Re: [AOLSERVER] missing access log entries

2009-03-27 Thread Alexey Pechnikov
Hello! On Friday 27 March 2009 01:21:38 Dossy Shiobara wrote: Why are you using ns_adp_abort here instead of ns_adp_return? = $ cat test.adp % ns_adp_puts Test ADP ns_adp_include test.inc % $ cat test.inc % ns_adp_puts Test inc ns_return 200 {text/html; charset=utf-8} {Stop

Re: [AOLSERVER] missing access log entries

2009-03-26 Thread Alexey Pechnikov
Hello! On Thursday 26 March 2009 21:40:05 Dossy Shiobara wrote: I wonder - should this be the documented known behavior of ns_adp_abort vs. ns_adp_return?  i.e., abort indicates that the connection is intentionally terminated, not logged, etc. vs. ns_adp_return which halts ADP processing but

Re: [AOLSERVER] TCL 8.5 and ns_proxy segfault [closed] + 2 new non-critical bugs

2009-03-08 Thread Alexey Pechnikov
Hello! On Sunday 08 March 2009 02:51:21 Gustaf Neumann wrote: Dear Alexey, below is a fix for the nsproxy problem that you reported. The problem comes from a different initialization semantics in Tcl 8.5, that hits the nsproxy binary. The added call should work with Tcl 8.4 as well; please

[AOLSERVER] TCL 8.5 and ns_proxy segfault

2009-03-07 Thread Alexey Pechnikov
Hello! I did try to build AOL 4.5.1 with TCL 8.5. AOL is work, but nsproxy module now doesn't work. nsproxy is simple but I don't understand why this doesn't work :-( $ /usr/lib/aolserver4/bin/nsproxy Segmentation fault I did copy strace for no-work nspoxy (TCL 8.5) and work (TCL 8.4).

[AOLSERVER] TCL 8.5 and ns_proxy segfault

2009-03-07 Thread Alexey Pechnikov
Hello! I did try to build AOL 4.5.1 with TCL 8.5. AOL is work, but nsproxy module now doesn't work. $ /usr/lib/aolserver4/bin/nsproxy Segmentation fault I did copy strace for no-work nspoxy (TCL 8.5) and work (TCL 8.4). === strace

Re: [AOLSERVER] TCL 8.5 and ns_proxy segfault

2009-03-07 Thread Alexey Pechnikov
Hello! With debug build TCL 8.5.6 + AOL 4.5.1 I can see by gdb: Breakpoint 1, ThreadStorageGetHashTable (id=0xb7c0c6b0) at /tmp/tcl8.5/tcl8.5-8.5.6/unix/../generic/tclThreadStorage.c:193 193 int index = PTR2UINT(id) % STORAGE_CACHE_SLOTS; (gdb) n 203 Tcl_HashTable *hashTablePtr =

Re: [AOLSERVER] TCL 8.5 and ns_proxy segfault

2009-03-07 Thread Alexey Pechnikov
Hello! On Saturday 07 March 2009 19:23:08 Alexey Pechnikov wrote: $5 = (Tcl_HashTable *) 0xb7ee2f40 (gdb) p id $6 = (Tcl_ThreadId) 0xb7c0c6b0 (gdb) step Program received signal SIGSEGV, Segmentation fault. 0x in ?? () And I can add this ThreadStorageGetHashTable( Tcl_ThreadId id

[AOLSERVER] tcljson module

2009-03-07 Thread Alexey Pechnikov
Hello! I did download tcljson module from AOL SVN. This has dependence to json.h but without description about json.h and that is strange. Now I did build library json-c and libjson for debian lenny. I did rewrite json prefix to ns_json and rename tcljson to nsjson. JSON generator is work but

Re: [AOLSERVER] Exec error produce error Fatal: received fatal signal 11.

2009-03-02 Thread Alexey Pechnikov
Hello! On Monday 02 March 2009 01:13:33 Bas Scheffers wrote: On Monday, March 2, 2009 8:15am, Alexey Pechnikov pechni...@mobigroup.ru said: I rewrite command as ... It's work but is not stable. Using exec is generally unstable, not sure why, but it is certainly not recommended. I would

[AOLSERVER] strace of error Fatal: received fatal signal 11.

2009-03-02 Thread Alexey Pechnikov
Hello! So AOL 4.5 doesn't work with exec and may be nspostgres. And gettimeofday system call is produce segfault too: [pid 27455] open(/var/www/merch/www/custom/mainpath.adp, O_RDONLY) = 13 [pid 27455] fstat64(13, {st_mode=S_IFREG|0644,

Re: [AOLSERVER] strace of error Fatal: received fatal signal 11.

2009-03-02 Thread Alexey Pechnikov
Hello! I did remove clock command but now ns_returnredirect is produce segfault. It's terrible. Best regards. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the body of SIGNOFF AOLSERVER in the email

[AOLSERVER] segfaults problems are solved

2009-03-02 Thread Alexey Pechnikov
Hello! I did build debian package with AOL 4.5.1 and did find a lot of problems are fixed in this AOL version and other problems are produced by incorrect debian lenny package of AOL server. Thank for all comments. You can get these packages from my repository. Debian etch: deb

Re: [AOLSERVER] segfaults problems are solved

2009-03-02 Thread Alexey Pechnikov
Hello! On Monday 02 March 2009 20:48:06 Don Baccus wrote: If you can find out who the debian maintainers for these packages are,   would you mind telling them that the packages can be fixed by properly   compiling them? I don't know if the maintainers are on the AOLserver list. Yes, of

Re: [AOLSERVER] AOL + SQLite+nsproxy question

2009-03-01 Thread Alexey Pechnikov
Hello! On Sunday 01 March 2009 04:37:44 Don Baccus wrote: nspostgres works fine with both aolserver 4.0.10 and 4.5.  It's used   in production at education sites with tens of thousands of users   running aolserver/postgres-based e-learning software. AOL Server 4.5 doesn't work with PostgreSQL

Re: [AOLSERVER] AOL + SQLite+nsproxy question

2009-03-01 Thread Alexey Pechnikov
Hello! On Saturday 28 February 2009 21:35:21 Tom Jackson wrote: There is an nsdb module nssqlite3. Here is the readme: http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=blob;f=nssqlite3/READ ME;hb=HEAD There are a lot of modules in the repository but some ot these are old and may be

Re: [AOLSERVER] AOL + SQLite+nsproxy question

2009-03-01 Thread Alexey Pechnikov
Hello! On Sunday 01 March 2009 04:37:44 Don Baccus wrote: nspostgres works fine with both aolserver 4.0.10 and 4.5.  It's used   in production at education sites with tens of thousands of users   running aolserver/postgres-based e-learning software. Please see

Re: [AOLSERVER] AOL + SQLite+nsproxy question

2009-03-01 Thread Alexey Pechnikov
Hello! On Sunday 01 March 2009 21:05:30 Don Baccus wrote: http://www.google.com/search?hl=enq=nspostgres+received+fatal +signal+11btnG=Search nspostgres doesn't work as you can see. I know for a fact that Iuri, the last person who shows up for that   search, got it working and in fact

[AOLSERVER] Load module for all connections

2009-03-01 Thread Alexey Pechnikov
Hello! I did try to create sqlite connection for all threads by creating test.tcl in tcl library directory. But it isn't work. $ cat test.tcl package require sqlite3 sqlite3 ::dbtest :memory: By using adp pages or control port command puts [dbtest onecolumn {select 1}] doesn't work. Is this

[AOLSERVER] Exec error produce error Fatal: received fatal signal 11.

2009-03-01 Thread Alexey Pechnikov
Hello! AOL version 4.5 may be killed my simple code: catch {exec soffice -invisible -headless -norestore macro:///Standard.Converter.ConvertToPDF($tmpdocname) -display :10} I rewrite command as exec soffice -invisible -headless -norestore macro:///Standard.Converter.ConvertToPDF($tmpdocname)

Re: [AOLSERVER] AOL + SQLite+nsproxy question

2009-03-01 Thread Alexey Pechnikov
Hello! On Monday 02 March 2009 01:24:08 Gustaf Neumann wrote: don't use binaries of drivers compiled for 4.0.* with  4.5.* and vice versa; this can easily lead to crashes. Make as well sure, that all involved binaries are compiled against the same version of tcl. nspostgres does work with

[AOLSERVER] AOL + SQLite+nsproxy question

2009-02-28 Thread Alexey Pechnikov
Hello! Is sqlite-tcl in an nsproxy pool the best solution? I’m use SQLite in all my projects and AOL Server in all web projects and it’s important for me to optimize this. P.S. Is there how-to for nsproxy newbies? And nsrpc is very interesting especially for send requests from external

Re: [AOLSERVER] AOL + SQLite+nsproxy question

2009-02-28 Thread Alexey Pechnikov
Hello! On Saturday 28 February 2009 21:35:21 Tom Jackson wrote: There is an nsdb module nssqlite3. Here is the readme: http://junom.com/gitweb/gitweb.perl?p=aolserver.git;a=blob;f=nssqlite3/READ ME;hb=HEAD Link doesn't work. You can get the module code out of sourceforge, or from the git

Re: [AOLSERVER] Virtual hosting

2009-02-08 Thread Alexey Pechnikov
Hello! В сообщении от Saturday 07 February 2009 18:20:33 Alex написал(а): could you provide more details, and may be some links? We are currently using nginx and I am quite interested, especially about DDOS. nginx write a lot of log messages for queries when back-end produce errors. And

Re: [AOLSERVER] Virtual hosting

2009-02-07 Thread Alexey Pechnikov
Hello! В сообщении от Saturday 07 February 2009 06:00:39 Alex написал(а): Apache for proxying nginx nginx for proxing?!! pound Best regards, Alexey. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to lists...@listserv.aol.com with the

Re: [AOLSERVER] Virtual hosting

2009-02-07 Thread Alexey Pechnikov
Hello! В сообщении от Saturday 07 February 2009 15:45:48 Gustaf Neumann написал(а): While it is true that for plain proxing, pound is simpler and easier to configure, nginx scales better (e.g. when you have e.g. 1000+ concurrent connecitions) and offers a large scale of modules etc. We

Re: [AOLSERVER] Help to install AOL server

2008-10-21 Thread Alexey Pechnikov
Hello! В сообщении от Tuesday 21 October 2008 22:40:00 Thibault Fouache написал(а): I've got a problem during the Aol server installation at the gmake's step. Here you can find the picture of the error. Can somebody help me please? You can install AOL Server from source or binary package for

Re: [AOLSERVER] AOLserver Tutorial at Tcl'2008

2008-09-25 Thread Alexey Pechnikov
Hello! В сообщении от Friday 26 September 2008 08:45:06 Dossy Shiobara написал(а): One of the more common questions folks ask about AOLserver is how do I set up virtual hosting - although, trying to explain that could take up too much of that 3 hour slot itself. Virtual hosting is really

[AOLSERVER] ns_adp_parse ignore safe option

2008-09-05 Thread Alexey Pechnikov
Hello! In page http://dev.aolserver.com/wiki/Ns_adp_parse is writed If you specify the -safe flag, then only registered tags are executed; inline scripts using % ... % or %= ... % are ignored. I'm try to using ns_adp_parse -file -safe $fname and % ... % sections are executed! It's very

Re: [AOLSERVER] ns_adp_parse ignore safe option

2008-09-05 Thread Alexey Pechnikov
Hello! В сообщении от Friday 05 September 2008 16:55:50 вы написали: Hello Alexei, If you check the history of that page: http://dev.aolserver.com/wiki/index.php?title=Ns_adp_parsediff=5098oldid= 2833 the -safe part was added on 24 September 2007... which is more recent than AOLServer