Re: [AOLSERVER] Tracking upload progress of large multipart form data in 4.5?

2005-12-29 Thread Tilmann Singer
* Tom Jackson [EMAIL PROTECTED] [20051229 08:07]: There are problems on both the client and server side. Client browsers cannot send binary data. AOLserver loads the entire request before a connection thread is started. That means that there isn't any opportunity to save data in chunks,

Re: [AOLSERVER] Tracking upload progress of large multipart form data in 4.5?

2005-12-28 Thread Tilmann Singer
* Dossy Shiobara [EMAIL PROTECTED] [20051228 15:55]: What's the use case you're looking to implement? If it's small file uploads, it's probably just simpler to fake it using an animated spinwait image. Uploads of preproduced sound files for a radio station, from appx. 50-100MB size each.

Re: [AOLSERVER] Tracking upload progress of large multipart form data in 4.5?

2005-12-28 Thread Tilmann Singer
* Dossy Shiobara [EMAIL PROTECTED] [20051228 21:18]: Ouch. Have you considered making an upload applet? Together with a more advanced server side solution, you can then do things like resume if the connection craps out, while still using HTTP. I'm thinking the same thing: for real

[AOLSERVER] Tracking upload progress of large multipart form data in 4.5?

2005-12-27 Thread Tilmann Singer
Hi, Like it has been posted to this list a few months ago, ( http://thread.gmane.org/gmane.comp.web.aolserver/12240 ), tracking upload progress of POST data is unfortunately not possible without a lot of C hacking on the core. Will there be any change in this in a near future version of

Re: [AOLSERVER] Generating .pdf Files on the Fly

2004-07-15 Thread Tilmann Singer
* Nathan Folkman [EMAIL PROTECTED] [20040714 23:40]: Is anyone doing this? More importantly, is anyone doing this via Tcl? Any pointers would be appreciated. Thanks! I'm using reportlab (www.reportlab.org) - unfortunately not in tcl, but open source and offering tight and very flexible

Re: [AOLSERVER] How to find out the output character encoding?

2004-05-28 Thread Tilmann Singer
* Mark Page [EMAIL PROTECTED] [20040527 20:21]: In AOLserver 4.0, ns_conn encoding will return the name of the encoding currently set for the active connection. Thanks! And is there a way to retrieve it in iso format or translate back from the tcl notation back to iso format, e.g.

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-28 Thread Tilmann Singer
* Dossy [EMAIL PROTECTED] [20040528 05:51]: An additional -encoding parameter for ns_httpopen would be the most flexible way. [...] If you're really serious about wanting this, file it as a Feature Request in SF tracker so we don't forget about it. Thanks! Done:

[AOLSERVER] How to find out the output character encoding?

2004-05-27 Thread Tilmann Singer
How can I find out which characterset encoding aolserver uses to return a current request? Would it be correct to use: ns_config {ns/parameters} {OutputCharset} and assume iso8859-1 if the command above returns an empty string? til -- AOLserver - http://www.aolserver.com/ To Remove

Re: [AOLSERVER] encoding of ns_sockopen

2004-05-27 Thread Tilmann Singer
* Nis Jorgensen [EMAIL PROTECTED] [20040527 22:08]: He's using the http protocol for that, I assume, not just plain socket connection. Tilmann's email only mentions ns_sockopen. If the fconfigure trick works, then extending ns_httpopen to take an -encoding parameter that it uses to

Re: [AOLSERVER] OpenFTS indexing of unicode content doesn't work with aolserver 4, works with 3.3oacs1

2004-03-11 Thread Tilmann Singer
* Peter Alberer [EMAIL PROTECTED] [20040311 16:07]: I am not sure that has anything to do with your problem, but i had to readd the following line to /aolserver/modules/tcl/init.tcl that was in aolserver-33-ad13: encoding system [ns_config ns/server/[ns_info server] SystemEncoding utf-8]

[AOLSERVER] OpenFTS indexing of unicode content doesn't work with aolserver 4, works with 3.3oacs1

2004-03-10 Thread Tilmann Singer
[After trying openfts-general and openacs forums without success I thought it might be worth trying the aolserver list, sorry if that is a cross posting for you.] openfts indexing of unicode encoded databases does not work anymore with aolserver 4. I get this error when the indexer encounters

[AOLSERVER] encoding of ns_sockopen

2004-01-28 Thread Tilmann Singer
Hi, When working with the openacs xmlrpc package I noticed that when posting data using ns_httpopen which calls ns_sockopen the data is encoded in iso-8859-1 although I have set the following parameters: ns_section ns/parameters ... ns_param HackContentType 1 ns_param URLCharset utf-8 ns_param

[AOLSERVER] how to return a custom 404 page with code 404?

2004-01-04 Thread Tilmann Singer
I would like my server to return a custom html page (or even better a tcl/adp pair) when a url is not found, with an http status code of 404. When setting this in the config file: ns_section ns/server/${servername}/redirects ns_param 404 /global/notfound.html ;# Not Found error page it

Re: [AOLSERVER] Generating Dynamic PDF's from AOLs

2003-12-09 Thread Tilmann Singer
* Steve Manning [EMAIL PROTECTED] [20031209 13:22]: I want to create a PDF version of a database report for downloading. Does anyone know of a way to dynamically generate PDF's within AOLserver? I'm using the free python library reportlab ( http://www.reportlab.org/ ) which gives you a high

Re: [AOLSERVER] mod_perl equivalent for aolserver?

2003-11-03 Thread Tilmann Singer
* John Sequeira [EMAIL PROTECTED] [20031103 15:46]: If your app was written portably enough to run under CGI, then I would recommend going that route with AOLServer. If you want a performance boost, look into persistent perl, SpeedyCGI or FastCGI (using the cgi2fastcgi bridge, since

[AOLSERVER] mod_perl equivalent for aolserver?

2003-11-02 Thread Tilmann Singer
Hi, I have an application that runs under apache mod_perl, and I was wondering if it would be possible to make it run under aolserver somehow as well. There is this project for aolserver: http://sourceforge.net/projects/perl-aol/ but it doesn't have any released files and is labelled alpha. Is

Re: [AOLSERVER] outgoing http sniffer, http authentication?

2003-09-30 Thread Tilmann Singer
* Andrew Piskorski [EMAIL PROTECTED] [20030930 15:47]: I want to look at the outging HTTP protocol traffic of my own browser, on Linux, and I do have root access on the machine. What's the best or handiest packet sniffing tool to use for this? Ones I've heard of are tcpdump and ethereal.

[AOLSERVER] nsvhr API to manipulate mappings on the fly?

2003-03-03 Thread Tilmann Singer
Hi, I remember once reading that someone (Jerry?) wrote an API that allows to manipulate the nsvhr virtual hosting mappings during runtime so that the changes would take effect immediately, without a restart. I can't seem to find any references to this anymore - does it still exist? If yes, in

Re: [AOLSERVER] using aolserver for mail

2002-11-20 Thread Tilmann Singer
* Patrick Kelly [EMAIL PROTECTED] [20021119 18:52]: We couldn't manage to simulate the qmail trigger pull from Tcl, so we built a new tcl command in C just to do that. The actual injection is all happening in Tcl. Sounds very useful. Is this code available for the public? Maybe even as a

[AOLSERVER] package require http

2001-11-22 Thread Tilmann Singer
Hi I would like to run a tcl script from within aolserver that requires some commands from the tcl http package. When running the script standalone with tclsh, I can use package require http but from within aolserver that returns the error: can't find package http There are two versions of