<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>websh-user@tcl.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/tcl-websh-user/</id>
<updated>2013-05-25T12:35:49Z</updated>
<entry>
<title>El Mejor Regalo Corporativo para tus Clientes</title>
<author><name>&quot;Tequila Don Raul&quot; &lt;tracking@trackingmkt.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3c22764DC8-E400-4A83-A4C6-0BC522E9995B@trackingmkt.com%3e"/>
<id>urn:uuid:%3c22764DC8-E400-4A83-A4C6-0BC522E9995B@trackingmkt-com%3e</id>
<updated>2011-10-14T00:49:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Si no puedes ver este mensaje da clic aqui&#010;&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;?&#010;? Insert your HTML code here. De acuerdo a la Ley Federal de Proteccion de Datos Personales&#010;en Posesion de los Particulares, aprobada el dia 13 de abril de 2010 en los articulos 3, Fracciones&#010;II y VII, y 33, asi como la denominacion del capitulo II, del Titulo Segundo, de la Ley Federal&#010;de Transparencia y Acceso a la Informacion Publica Gubernamental, le solicitamos amablemente&#010;que si usted no es websh-user@tcl.apache.org o le gustaria darse de baja de nuestra lista&#010;de correos y no recibir mas comunicacion de nosotros, de click AQUI para su desuscripcion&#010;y borrado de nuestros registros. Le recordamos que nosotros solo promovemos valores empresariales,&#010;sin el afan de molestarle o poner en peligro sus datos, sino como un servicio de difusion&#010;y promocion, siempre bajo su consentimiento y conformidad. Se entendera que el titular consiente&#010;tacitamente el tratamiento de sus datos, cuando habiendose puesto a su disposicion el presente&#010;aviso de privacidad, no manifieste su oposicion. Agradecemos de antemano sus atenciones.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh installation</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3c20111013074838.GD18652@netcetera.ch%3e"/>
<id>urn:uuid:%3c20111013074838-GD18652@netcetera-ch%3e</id>
<updated>2011-10-13T07:48:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; $ websh&#010;&gt; websh: error while loading shared libraries: libwebsh3.6.0b5.so:&#010;&gt; cannot open shared object file: No such file or directory&#010;&#010;No, I guess "." is not in your library path. "ls" should show you that&#010;libwebsh3.6.0b5.so is actually there, right?&#010;&#010;&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch |&#010;T +41-44-247 79 79 | F +41-44-247 70 75 |&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh installation</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3c20111013074644.GC18652@netcetera.ch%3e"/>
<id>urn:uuid:%3c20111013074644-GC18652@netcetera-ch%3e</id>
<updated>2011-10-13T07:46:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; &gt; Try adding the --aprinclude option to ./configure and have it point to&#010;&gt; &gt; where the Apache runtime header files (i.e. apr.h) points to. (You&#010;&gt; &gt; might need to also specifiy --apuinclude to point to the APR utilities&#010;&gt; &gt; headers.&#010;&gt; &#010;&gt; ~/downloads/websh-3.6.0b5/src/unix$ ./configure&#010;&gt; configure: error: unrecognized option: `--apuinclude=/usr/include/apr-1.0/'&#010;&gt; Try `./configure --help' for more information.&#010;&#010;Yeah, sorry. Meant to write --with-aprinclude ... &#010;&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch |&#010;T +41-44-247 79 79 | F +41-44-247 70 75 |&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh installation</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3c20111013072930.GA18652@netcetera.ch%3e"/>
<id>urn:uuid:%3c20111013072930-GA18652@netcetera-ch%3e</id>
<updated>2011-10-13T07:29:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Spock&#010;&#010;&gt; ./configure --target=websh3.6.0b5.so&#010;&#010;&gt; Running make gives a bunch of errors.&#010;&gt; &#010;&gt; /usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory&#010;&gt; /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such&#010;&gt; file or directory&#010;&gt; /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h:&#010;&gt; No such file or directory&#010;&gt; ... etc.&#010;&#010;Try adding the --aprinclude option to ./configure and have it point to&#010;where the Apache runtime header files (i.e. apr.h) points to. (You&#010;might need to also specifiy --apuinclude to point to the APR utilities&#010;headers.&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch |&#010;T +41-44-247 79 79 | F +41-44-247 70 75 |&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh installation</title>
<author><name>L N &lt;leonardnemoi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3cCANPzgjSZogOXZA7k8MY-0wpptqskecdcsQyPuHD+rfESpQpz0g@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCANPzgjSZogOXZA7k8MY-0wpptqskecdcsQyPuHD+rfESpQpz0g@mail-gmail-com%3e</id>
<updated>2011-10-13T07:27:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Is there a statically-linked websh for dummies like me who don't know&#010;how to compile? :]&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh installation</title>
<author><name>L N &lt;leonardnemoi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3cCANPzgjQiKCZKZigv2ku3kDjgi1LDOk57-F1z673re6DqqkQSOA@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCANPzgjQiKCZKZigv2ku3kDjgi1LDOk57-F1z673re6DqqkQSOA@mail-gmail-com%3e</id>
<updated>2011-10-13T07:26:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
This is the output from ./configure ...&#010;&#010;~/downloads/websh-3.6.0b5/src/unix$ ./configure&#010;--target=websh3.6.0b5.so --with-tclinclude=/usr/include/tcl8.5&#010;--with-tcl=/usr/share/tcltk/tcl8.5&#010;--with-httpdinclude=/usr/include/apache2/&#010;checking for gcc... cc&#010;checking whether the C compiler works... yes&#010;checking for C compiler default output file name... a.out&#010;checking for suffix of executables...&#010;checking whether we are cross compiling... no&#010;checking for suffix of object files... o&#010;checking whether we are using the GNU C compiler... yes&#010;checking whether cc accepts -g... yes&#010;checking for cc option to accept ISO C89... none needed&#010;checking for a BSD-compatible install... /usr/bin/install -c&#010;checking how to run the C preprocessor... cc -E&#010;checking for grep that handles long lines and -e... /bin/grep&#010;checking for egrep... /bin/grep -E&#010;checking whether make sets $(MAKE)... yes&#010;checking for ranlib... ranlib&#010;checking build system type... x86_64-unknown-linux-gnu&#010;checking host system type... x86_64-unknown-linux-gnu&#010;checking for Tcl public headers... /usr/include/tcl8.5&#010;checking for Tcl configuration... found /usr/share/tcltk/tcl8.5/tclConfig.sh&#010;checking for existence of /usr/share/tcltk/tcl8.5/tclConfig.sh... loading&#010;checking for httpd header files... found /usr/include/apache2/&#010;checking for building with threads... no (default)&#010;checking how to build libraries... shared&#010;checking for build with symbols... no&#010;checking for tclsh8.6... no&#010;checking for tclsh86... no&#010;checking for tclsh8.5... no&#010;checking for tclsh85... no&#010;checking for tclsh8.4... no&#010;checking for tclsh84... no&#010;checking for tclsh8.3... no&#010;checking for tclsh83... no&#010;checking for tclsh8.2... no&#010;checking for tclsh82... no&#010;checking for tclsh8.6... no&#010;checking for tclsh86... no&#010;checking for tclsh8.5... /usr/bin/tclsh8.5&#010;configure: creating ./config.status&#010;config.status: creating Makefile&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>websh installation</title>
<author><name>L N &lt;leonardnemoi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201110.mbox/%3cCANPzgjTMnVvP3APLiV1C3VjNLBVS=mU9X+z2Paf-D2xc9pSOGA@mail.gmail.com%3e"/>
<id>urn:uuid:%3cCANPzgjTMnVvP3APLiV1C3VjNLBVS=mU9X+z2Paf-D2xc9pSOGA@mail-gmail-com%3e</id>
<updated>2011-10-13T07:20:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello websh list.&#010;&#010;New to this list and to websh.&#010;&#010;Tried installing websh.&#010;&#010;Downloaded tarball and unpacked it.&#010;&#010;Ran autoconf in the websh-3.6.0b5/src/unix directory.&#010;&#010;Ran configure without errors.&#010;&#010;./configure --target=websh3.6.0b5.so&#010;--with-tclinclude=/usr/include/tcl8.5&#010;--with-tcl=/usr/share/tcltk/tcl8.5&#010;--with-httpdinclude=/usr/include/apache2/&#010;&#010;Running make gives a bunch of errors.&#010;&#010;/usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory&#010;/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such&#010;file or directory&#010;/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h:&#010;No such file or directory&#010;... etc.&#010;&#010;Wondering what to do now.&#010;&#010; - Leonard&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh on Apache2</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201103.mbox/%3c20110323103521.GK4617@netcetera.ch%3e"/>
<id>urn:uuid:%3c20110323103521-GK4617@netcetera-ch%3e</id>
<updated>2011-03-23T10:35:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Martin&#010;&#010;&gt; Which init script do you mean?&#010;&#010;Well, your problem was solved, so there's no need to look at it ;-),&#010;but for completeness: in the Apache config, you'll usually set the&#010;WebshConfig directive to point to a config file, where you provide&#010;your own version of web::interpmap. Obviously you can create infinite&#010;loops there, which would result in some similar error, I guess. You&#010;don't necessarily have to provide this config file, as there is a&#010;built-in default, but as said: usually, you tweak your setup in&#010;there.&#010;&#010;&gt; Executing "Make test" works well, "apachetest" doesn't. Debian&#010;&gt; installs packets in different folders than this script&#010;&gt; expects. Changing the wrong path in the script (Error message below)&#010;&gt; will produce a different error. On an older server running Debian4&#010;&gt; with Apache2, Tcl8.4 and websh-3.6.0b5 websh is working well but&#010;&gt; apachetest has the same behavior.&#010;&gt; &#010;&gt; root@chst2s143:~/websh-3.6.0b5/src/unix# make apachetest&#010;&gt; /bin/bash: line 8: /usr/local/share/tcltk: No such file or directory&#010;&gt; Please supply the full name and path of the Apache executable&#010;&gt; on the command line (or in the HTTPD_BIN environment variable):&#010;&gt; runtests.tcl /path/to/httpd&#010;&gt; make: *** [apachetest] Error 1&#010;&#010;You can try running make providing the binary on the command line:&#010;&#010;  make apachetest HTTPD_BIN=/path/to/your/httpd&#010;&#010;configure and Makefile try some magic to find the http binary make&#010;needs to run for the tests. Obviously, it's not magical enough for&#010;your environment. If you can provide any change for the configure&#010;script or Makefile so that the tests would work out-of-the-box, I'd&#010;happily try to work them in...&#010;&#010;Gruess us Züri :-)&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch |&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75 |&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>AW: websh on Apache2</title>
<author><name>Niederberger Martin &lt;mtniederberger@pilatus-aircraft.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201103.mbox/%3c29B98654D3919C42BBD8B1CEC47C1A2E39B8FC74F3@CHST3C026.pilatus-aircraft.com%3e"/>
<id>urn:uuid:%3c29B98654D3919C42BBD8B1CEC47C1A2E39B8FC74F3@CHST3C026-pilatus-aircraft-com%3e</id>
<updated>2011-03-23T10:18:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Ronnie,&#010;&#010;&gt; Did you check this one? What does your init script look like?&#010;&#010;Which init script do you mean?&#010;&#010;&gt; I don't know of any problems with Tcl8.5. Does the test suite work when you compile (make&#010;test and make apachetest)?&#010;&#010;I recompiled Tcl with -DTCL_NO_STACK_CHECK flag. There is a known issue with tcl interpreter&#010;64bit. After that websh is working well.&#010;Executing "Make test" works well, "apachetest" doesn't. Debian installs packets in different&#010;folders than this script expects. Changing the wrong path in the script (Error message below)&#010;will produce a different error. On an older server running Debian4 with Apache2, Tcl8.4 and&#010;websh-3.6.0b5 websh is working well but apachetest has the same behavior.&#010;&#010;root@chst2s143:~/websh-3.6.0b5/src/unix# make apachetest&#010;/bin/bash: line 8: /usr/local/share/tcltk: No such file or directory&#010;Please supply the full name and path of the Apache executable&#010;on the command line (or in the HTTPD_BIN environment variable):&#010;runtests.tcl /path/to/httpd&#010;make: *** [apachetest] Error 1&#010;&#010;Regards&#010;&#010;Martin Niederberger&#010;Flight Test Engineer&#010;________________________________&#010;Pilatus Aircraft Ltd&#010;P.O. Box 992, 6371 Stans, Switzerland&#010;Phone:  +41 41 619 66 57&#010;Fax:    +41 41 619 65 99&#010;mailto:mtniederberger@pilatus-aircraft.com&#010;http://www.pilatus-aircraft.com&#010;&#010;-----Ursprüngliche Nachricht-----&#010;Von: Ronnie Brunner [mailto:ronnie.brunner@netcetera.ch]&#010;Gesendet: Mittwoch, 23. März 2011 09:57&#010;An: Niederberger Martin&#010;Cc: websh-user@tcl.apache.org&#010;Betreff: Re: websh on Apache2&#010;&#010;Hi Martin&#010;&#010;&gt; Websh doesn't work. The apache error.log shows the message:&#010;&gt;&#010;&gt; [Tue Mar 22 16:01:36 2011] [error] web::interpmap: out of stack space&#010;&gt; (infinite loop?)&#010;&#010;Did you check this one? What does your init script look like?&#010;&#010;&gt; Because Itcl needs Tcl8.5 I have to compile websh against Tcl8.5 Does&#010;&gt; websh-3.6.0b5 work with Tcl8.5? Is there anything special to do&#010;&gt; compiling websh against Tcl8.5?&#010;&#010;I don't know of any problems with Tcl8.5. Does the test suite work when you compile (make&#010;test and make apachetest)?&#010;&#010;Regards&#010;Ronnie&#010;--&#010;Ronnie Brunner | ronnie.brunner@netcetera.ch | phone +41-44-247 79 79 | fax +41-44-247 70&#010;75 | Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;Please consider the environment before printing this email!&#010;&#010;***DISCLAIMER***&#010;&#010;The information and any attachments (herein referred to as 'document') transmitted is intended&#010;only for the person or entity to which it is addressed. It may contain confidential and/or&#010;privileged information. If you are not the intended recipient of this document, you are hereby&#010;notified that any dissemination, distribution, copying, other use of, or taking any action&#010;in reliance upon this document by persons or entities other than the intended recipient is&#010;illegal and prohibited. If you have received this in error, please immediately notify the&#010;sender, permanently delete the original from any computer and/or system, and destroy any printout&#010;of the 'document'. We thank you for your co-operation in this matter. Pilatus Aircraft Ltd.&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>AW: websh on Apache2</title>
<author><name>Niederberger Martin &lt;mtniederberger@pilatus-aircraft.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201103.mbox/%3c29B98654D3919C42BBD8B1CEC47C1A2E39B8FC74AC@CHST3C026.pilatus-aircraft.com%3e"/>
<id>urn:uuid:%3c29B98654D3919C42BBD8B1CEC47C1A2E39B8FC74AC@CHST3C026-pilatus-aircraft-com%3e</id>
<updated>2011-03-23T09:58:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
My system is a 64bit indeed. I recompiled tcl with your requested flag and websh is now working&#010;well.&#010;&#010;&#010;On Wed, Mar 23, 2011 at 10:11 AM, Ruslan Shevchenko [mailto:ruslan@shevchenko.kiev.ua] wrote:&#010;&gt;Are you system is 64bit ?&#010;&gt;&#010;&gt;Exist known issue with tcl interpreter on 64 bit, can be fixed by recompiling tcl with&#010;-DTCL_NO_STACK_CHECK flag.&#010;&#010;&#010;Thank's a lot for your fast response!&#010;&#010;&#010;Martin Niederberger&#010;Flight Test Engineer&#010;________________________________&#010;Pilatus Aircraft Ltd&#010;P.O. Box 992, 6371 Stans, Switzerland&#010;Phone:  +41 41 619 66 57&#010;Fax:    +41 41 619 65 99&#010;mailto:mtniederberger@pilatus-aircraft.com&#010;http://www.pilatus-aircraft.com&#010;&#010;Please consider the environment before printing this email!&#010;&#010;***DISCLAIMER***&#010;&#010;The information and any attachments (herein referred to as 'document') transmitted is intended&#010;only for the person or entity to which it is addressed. It may contain confidential and/or&#010;privileged information. If you are not the intended recipient of this document, you are hereby&#010;notified that any dissemination, distribution, copying, other use of, or taking any action&#010;in reliance upon this document by persons or entities other than the intended recipient is&#010;illegal and prohibited. If you have received this in error, please immediately notify the&#010;sender, permanently delete the original from any computer and/or system, and destroy any printout&#010;of the 'document'. We thank you for your co-operation in this matter. Pilatus Aircraft Ltd.&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh on Apache2</title>
<author><name>Ruslan Shevchenko &lt;ruslan@shevchenko.kiev.ua&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201103.mbox/%3cAANLkTino0szd8uWTeCh1eWSwAA93PmBOoroBhd1Fn2Ka@mail.gmail.com%3e"/>
<id>urn:uuid:%3cAANLkTino0szd8uWTeCh1eWSwAA93PmBOoroBhd1Fn2Ka@mail-gmail-com%3e</id>
<updated>2011-03-23T09:10:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Are you system is 64bit ?&#010;&#010; Exist known issue with tcl interpreter on 64 bit, can be fixed by&#010;recompiling tcl with&#010;-DTCL_NO_STACK_CHECK flag.&#010;&#010;On Wed, Mar 23, 2011 at 10:49 AM, Niederberger Martin&#010;&lt;mtniederberger@pilatus-aircraft.com&gt; wrote:&#010;&gt; Hi,&#010;&gt;&#010;&gt; On my debian (squeeze) server I’m running Apache2 (2.2.16), tcl8.5 (8.5.8-2)&#010;&gt; and websh (websh-3.6.0b5).&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; Websh doesn’t work. The apache error.log shows the message:&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; [Tue Mar 22 16:01:36 2011] [error] web::interpmap: out of stack space&#010;&gt; (infinite loop?)&#010;&gt;&#010;&gt; [Tue Mar 22 16:01:36 2011] [error] [client 172.17.164.111] mod_websh - no&#010;&gt; interp!&#010;&gt;&#010;&gt; [Tue Mar 22 16:01:36 2011] [error] [client 172.17.164.111] couldn't run&#010;&gt; websh script: /var/www/index.ws3&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; If I compile the websh package against tcl8.4 websh works fine but I get an&#010;&gt; error if I run a script using DIO.&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; [Fri Mar 18 18:01:01 2011] [error] [client 172.17.164.111] version conflict&#010;&gt; for package "Tcl": have 8.4, need 8.5\n    while executing\n"load&#010;&gt; /usr/lib/libitcl3.4.so.1 Itcl"\n    ("package ifneeded" script)\n    invoked&#010;&gt; from within\n"package require Itcl"\n    (file "/usr/lib/tcltk/dio/dio.tcl"&#010;&gt; line 20)\n    invoked from within\n"source /usr/lib/tcltk/dio/dio.tcl"\n&#010;&gt; ("package ifneeded" script)\n    invoked from within\n"package require DIO&#010;&gt; 1.0"&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; Because Itcl needs Tcl8.5 I have to compile websh against Tcl8.5&#010;&gt;&#010;&gt; Does websh-3.6.0b5 work with Tcl8.5? Is there anything special to do&#010;&gt; compiling websh against Tcl8.5?&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; Thanks for your help&#010;&gt;&#010;&gt; Martin Niederberger&#010;&gt; Flight Test Engineer&#010;&gt;&#010;&gt; ________________________________&#010;&gt; Pilatus Aircraft Ltd&#010;&gt; P.O. Box 992, 6371 Stans, Switzerland&#010;&gt;&#010;&gt; Phone:  +41 41 619 66 57&#010;&gt; Fax:    +41 41 619 65 99&#010;&gt;&#010;&gt; mailto:mtniederberger@pilatus-aircraft.com&#010;&gt; http://www.pilatus-aircraft.com&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; Please consider the environment before printing this email!&#010;&gt;&#010;&gt; ________________________________&#010;&gt; ***DISCLAIMER***&#010;&gt;&#010;&gt; The information and any attachments (herein referred to as 'document')&#010;&gt; transmitted is intended only for the person or entity to which it is&#010;&gt; addressed. It may contain confidential and/or privileged information. If you&#010;&gt; are not the intended recipient of this document, you are hereby notified&#010;&gt; that any dissemination, distribution, copying, other use of, or taking any&#010;&gt; action in reliance upon this document by persons or entities other than the&#010;&gt; intended recipient is illegal and prohibited. If you have received this in&#010;&gt; error, please immediately notify the sender, permanently delete the original&#010;&gt; from any computer and/or system, and destroy any printout of the 'document'.&#010;&gt; We thank you for your co-operation in this matter. Pilatus Aircraft Ltd.&#010;&gt;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh on Apache2</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201103.mbox/%3c20110323085719.GF4617@netcetera.ch%3e"/>
<id>urn:uuid:%3c20110323085719-GF4617@netcetera-ch%3e</id>
<updated>2011-03-23T08:57:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Martin&#010;&#010;&gt; Websh doesn't work. The apache error.log shows the message:&#010;&gt; &#010;&gt; [Tue Mar 22 16:01:36 2011] [error] web::interpmap: out of stack space (infinite loop?)&#010;&#010;Did you check this one? What does your init script look like?&#010;&#010;&gt; Because Itcl needs Tcl8.5 I have to compile websh against Tcl8.5&#010;&gt; Does websh-3.6.0b5 work with Tcl8.5? Is there anything special to do&#010;&gt; compiling websh against Tcl8.5?&#010;&#010;I don't know of any problems with Tcl8.5. Does the test suite work&#010;when you compile (make test and make apachetest)?&#010;&#010;Regards&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch |&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75 |&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>websh on Apache2</title>
<author><name>Niederberger Martin &lt;mtniederberger@pilatus-aircraft.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201103.mbox/%3c29B98654D3919C42BBD8B1CEC47C1A2E39B8FC7371@CHST3C026.pilatus-aircraft.com%3e"/>
<id>urn:uuid:%3c29B98654D3919C42BBD8B1CEC47C1A2E39B8FC7371@CHST3C026-pilatus-aircraft-com%3e</id>
<updated>2011-03-23T08:49:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;On my debian (squeeze) server I'm running Apache2 (2.2.16), tcl8.5 (8.5.8-2) and websh (websh-3.6.0b5).&#010;&#010;Websh doesn't work. The apache error.log shows the message:&#010;&#010;[Tue Mar 22 16:01:36 2011] [error] web::interpmap: out of stack space (infinite loop?)&#010;[Tue Mar 22 16:01:36 2011] [error] [client 172.17.164.111] mod_websh - no interp!&#010;[Tue Mar 22 16:01:36 2011] [error] [client 172.17.164.111] couldn't run websh script: /var/www/index.ws3&#010;&#010;If I compile the websh package against tcl8.4 websh works fine but I get an error if I run&#010;a script using DIO.&#010;&#010;[Fri Mar 18 18:01:01 2011] [error] [client 172.17.164.111] version conflict for package "Tcl":&#010;have 8.4, need 8.5\n    while executing\n"load /usr/lib/libitcl3.4.so.1 Itcl"\n    ("package&#010;ifneeded" script)\n    invoked from within\n"package require Itcl"\n    (file "/usr/lib/tcltk/dio/dio.tcl"&#010;line 20)\n    invoked from within\n"source /usr/lib/tcltk/dio/dio.tcl"\n    ("package ifneeded"&#010;script)\n    invoked from within\n"package require DIO 1.0"&#010;&#010;Because Itcl needs Tcl8.5 I have to compile websh against Tcl8.5&#010;Does websh-3.6.0b5 work with Tcl8.5? Is there anything special to do compiling websh against&#010;Tcl8.5?&#010;&#010;Thanks for your help&#010;Martin Niederberger&#010;Flight Test Engineer&#010;________________________________&#010;Pilatus Aircraft Ltd&#010;P.O. Box 992, 6371 Stans, Switzerland&#010;Phone:  +41 41 619 66 57&#010;Fax:    +41 41 619 65 99&#010;mailto:mtniederberger@pilatus-aircraft.com&#010;http://www.pilatus-aircraft.com&lt;http://www.pilatus-aircraft.com/&gt;&#010;&#010;&#010;Please consider the environment before printing this email!&#010;&#010;________________________________&#010;***DISCLAIMER***&#010;&#010;The information and any attachments (herein referred to as 'document') transmitted is intended&#010;only for the person or entity to which it is addressed. It may contain confidential and/or&#010;privileged information. If you are not the intended recipient of this document, you are hereby&#010;notified that any dissemination, distribution, copying, other use of, or taking any action&#010;in reliance upon this document by persons or entities other than the intended recipient is&#010;illegal and prohibited. If you have received this in error, please immediately notify the&#010;sender, permanently delete the original from any computer and/or system, and destroy any printout&#010;of the 'document'. We thank you for your co-operation in this matter. Pilatus Aircraft Ltd.&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Http gzip content</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201005.mbox/%3c20100531075118.GA25716@netcetera.ch%3e"/>
<id>urn:uuid:%3c20100531075118-GA25716@netcetera-ch%3e</id>
<updated>2010-05-31T07:51:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; I have a question, i have apache with mod_deflate and what i'm trying is to send a gzipped&#010;content to the browser.. but it doesn't seem to work. When I try to send a gzipped content&#010;to the page all i get is "Content Encoding Error&#010;&gt; The page you are trying to view cannot be shown because it uses an invalid or unsupported&#010;form of compression."&#010;&gt; &#010;&gt; What I do is this:&#010;&gt;     web::response -set Content-Encoding "gzip"    &#010;&gt;     web::put [zlib gzip "&lt;h1&gt;Some simple gzipped content!&lt;/h1&gt;" -level&#010;9]&#010;&gt; &#010;&gt; When i try zlib deflate i get the same thing.&#010;&#010;Don't know what happens, but one issue might be that the standard&#010;output channel is not set to binary (i.e. does some translation). Did&#010;you try adding&#010;&#010;    fconfigure [web::response] -translation binary &#010;&#010;before your first [web::put]? On the other hand: did you try to check&#010;what actually arrives on the browser side? Maybe a manual telnet to&#010;your URL might reveal yet another problem.&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Http gzip content</title>
<author><name>Lost One &lt;the.lostone@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/201005.mbox/%3c670260.55320.qm@web57509.mail.re1.yahoo.com%3e"/>
<id>urn:uuid:%3c670260-55320-qm@web57509-mail-re1-yahoo-com%3e</id>
<updated>2010-05-29T09:14:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi there,&#010;&#010;After using and learning how websh works i started to like it although I still have much to&#010;learn.&#010;Most of the things like HTTP redirection, file transfer where resolved from learning how PHP&#010;and other languages handle these..then finding how they work in websh.&#010;&#010;I have a question, i have apache with mod_deflate and what i'm trying is to send a gzipped&#010;content to the browser.. but it doesn't seem to work. When I try to send a gzipped content&#010;to the page all i get is "Content Encoding Error&#010;The page you are trying to view cannot be shown because it uses an invalid or unsupported&#010;form of compression."&#010;&#010;What I do is this:&#010;    web::response -set Content-Encoding "gzip"    &#010;    web::put [zlib gzip "&lt;h1&gt;Some simple gzipped content!&lt;/h1&gt;" -level 9]&#010;&#010;When i try zlib deflate i get the same thing.&#010;&#010;You guys have any ideea how it's done? Or do I have to find a way to configure the gzip'ing&#010;from the side of the apache?&#010;&#010;Thanks in advance,&#010;Clinciu Andrei&#010; &#010;&#010;&#010;&#010;      &#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Question about interpreters</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200910.mbox/%3c20091026155007.GI20797@netcetera.ch%3e"/>
<id>urn:uuid:%3c20091026155007-GI20797@netcetera-ch%3e</id>
<updated>2009-10-26T15:50:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; I have the following problem(s)&#010;&#010;[...]&#010;&#010;&gt; I don't know what the heck is wrong, or how to use the interpreters&#010;&gt; or why they're needed, where they're needed .. how to combine them&#010;&gt; cause it seems not to display my pages correctly. I read the quick&#010;&gt; reference before but it took me lots of hours to figure out some&#010;&gt; things. Could it be because I'm on vista? Even sessions seemed to&#010;&gt; work weird, and without a proper interpreter I felt lost so I&#010;&gt; stopped using Websh.&#010;&#010;I don't see anything that's obviously wrong in your code. (Well, there&#010;isn't much code ;-)&#010;&#010;Does the sample installation w/o changing anything (except maybe&#010;settning webshroot correctly in websh.conf) work? What is the&#010;output of using the sample as-is? Any logs in the Apache error log?&#010;&#010;The poin twith the interpreters is: with &#010;&#010;proc web::interpmap {file} {&#010;     # return interp class for request to file&#010;     return $file&#010;}&#010;&#010;you define which interpreter(s) handle which requests. The sample uses&#010;2 defined interpreter classes (i.e. interpreterr that run the same&#010;code for same set of requests) and all *.ws3 requests are handled by&#010;their own class):&#010;&#010;  otherhandler.ws3: running requests to any file called other.html&#010;&#010;  htmlhandler.ws3: running requests to any *.html file (except the above)&#010;&#010;  *.ws3: each *.ws3 has it's own interpreter, which just runs the file itself&#010;&#010;So the interpreter thing lets you decide which requests should be&#010;handled by which code.&#010;&#010;proc web::interpmap {file} {&#010;     return myCode.tcl&#010;}&#010;&#010;Would instead run every request through the same code no matter which&#010;request is sent to mod_websh from the server (configured with the&#010;AddHandler directive...)&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Question about interpreters</title>
<author><name>Lost One &lt;the.lostone@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200910.mbox/%3c58297.89710.qm@web57504.mail.re1.yahoo.com%3e"/>
<id>urn:uuid:%3c58297-89710-qm@web57504-mail-re1-yahoo-com%3e</id>
<updated>2009-10-24T17:26:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi&#010;&#010;Ok I finally compiled everything, I reinstalled Tcl so that .tcl was put in the extension&#010;path.&#010;Then I started experimenting with Websh again, I'm sorry if my questions seem to be kinda&#010;stupid but the last time I ignored interpreters I got stuck.&#010;&#010;I have the following problem(s)&#010;When I try to visualize the configuration.html document it doesn't display full. I tried to&#010;change the code in htmlhandler.ws3 to this&#010;&#010; web::initializer {&#010;       web::config putxmarkup tag&#010;}&#010;&#010;restart the server but it ends up only working for only ONE time, then no more. Apache seems&#010;to constantly crash and get back up on it's own. I remember having the same problems with&#010;the older versions too.&#010;If i change the following:&#010;&#010;web::interpclasscfg "$webshroot/conf/htmlhandler.ws3" maxrequests 1&#010;&#010;or to another number then my  Vista keeps asking me either to close apache or to "find a&#010;solution" for the program, Apache starts automatically up so it's kinda annoying.. &#010;&#010;I don't know what the heck is wrong, or how to use the interpreters or why they're needed,&#010;where they're needed .. how to combine them cause it seems not to display my pages correctly.&#010;I read the quick reference before but it took me lots of hours to figure out some things.&#010;Could it be because I'm on vista? Even sessions seemed to work weird, and without a proper&#010;interpreter I felt lost so I stopped using Websh.&#010;&#010;Regards,&#010;Andrei&#010;&#010;&#010;&#010;      &#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compile problems</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200910.mbox/%3c20091023133611.GJ26@netcetera.ch%3e"/>
<id>urn:uuid:%3c20091023133611-GJ26@netcetera-ch%3e</id>
<updated>2009-10-23T13:36:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi&#010;&#010;&gt;         cl /D"WIN32" /D"VERSION=\"3.6.0b5\"" /D"_MBCS" /W3 /EHsc /O2 /Ob1 /DTHREAD_SAFE=1&#010;-I"D:/Tcl/include" -I"D:/Tcl/Apache/include" -UUSE_TCL_STUBS -c ../generic/interpool.c /Fointerpool.obj&#010;&#010;[...]&#010;&#010;&gt; interpool.c&#010;&gt; d:\tcl\websh-3.6.0b5\src\generic\mod_websh.h(23) : fatal error C1083: Cannot open include&#010;file: 'httpd.h': No such file or directory&#010;&#010;Obviously the compiler doesn't find httpd.h. Try to locate your&#010;httpd.h file and then configure your Makefile to point to the *parent*&#010;dir of the include directory.&#010;&#010;For me the following worked w/o any tweak:&#010;&#010;- Install Apache 2.2.14 to &#010;  "C:\Program Files\Apache Software Foundation\Apache2.2.14\"&#010;  (make sure to also install the header files)&#010;&#010;- Install the latest ActiveTcl to &#010;  "C:\Program Files\ActiveTcl\8.6.0\"&#010;&#010;- Unpack websh-3.6.0b5, cd to src\win and run&#010;&#010;  nmake TCL_PREFIX="C:/Program Files/ActiveTcl/8.6.0" TCL_VERSION=86 HTTPD_PREFIX="C:/Program&#010;Files/Apache Software Foundation/Apache2.2.14" clean all test apachetest&#010;&#010;-&gt; That's it&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Compile problems</title>
<author><name>Lost One &lt;the.lostone@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200910.mbox/%3c211464.48988.qm@web57504.mail.re1.yahoo.com%3e"/>
<id>urn:uuid:%3c211464-48988-qm@web57504-mail-re1-yahoo-com%3e</id>
<updated>2009-10-23T09:34:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello&#010;I have (successfully) compiled Websh before (with a lot of searching and work..) but now it&#010;seems that i just can't compile the newer version. I'm using Tcl 8.6b1 and apache 2.2.14.&#010;I tried using the compiled apache and also the uncompiled one but it just won't work.I always&#010;get errors, sometimes the arp.h is missing, other times the libhttpd.lib is missing although&#010;the libhttpd.dll exists.&#010;Last time I tried to do everything i got this error:Microsoft (R) Program Maintenance Utility&#010;Version 9.00.21022.08&#010;Copyright (C) Microsoft Corporation.  All rights reserved.&#010;&#010;        cl /D"WIN32" /D"VERSION=\"3.6.0b5\"" /D"_MBCS" /W3 /EHsc /O2 /Ob1 /DTHRE&#010;AD_SAFE=1 -I"D:/Tcl/include" -I"D:/Tcl/Apache/include" -UUSE_TCL_STUBS -c ../gen&#010;eric/interpool.c /Fointerpool.obj&#010;Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86&#010;Copyright (C) Microsoft Corporation.  All rights reserved.&#010;&#010;interpool.c&#010;d:\tcl\websh-3.6.0b5\src\generic\mod_websh.h(23) : fatal error C1083: Cannot ope&#010;n include file: 'httpd.h': No such file or directory&#010;NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\&#010;VC\BIN\cl.EXE"' : return code '0x2'&#010;Stop.&#010;&#010;Could you please be able to tell me how you did it precisely, cause i can't quite remember&#010;how i made it work the last time. Do I have to compile Apache separated or do I need the TCL&#010;source?&#010;Thanks in advance.&#010;&#010;&#010;&#010;&#010;      &#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Regarding Google Analytics issue</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200909.mbox/%3c20090929115521.GC14893@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090929115521-GC14893@netcetera-ch%3e</id>
<updated>2009-09-29T11:55:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Manu&#010;&#010;&gt; I just got stuck in the same issue as you with the google analytics.&#010;&gt; &#010;&gt; The cookie it generates have the value that consists of '=' sign,&#010;&gt; which is not parsed properly, and because of the same, our secured&#010;&gt; subdomain site doesn't work, and as soon as I delete the cookie, it&#010;&gt; starts working.&#010;&#010;Are you talking about Websh? If so, please update to the latest&#010;version (3.6.0b5), where this issue is solved.&#010;&#010;If that is not possible for some reason, you can overwrite the&#010;_getCookie proc of a cookiecontext (where yourContext is changed to&#010;the name of your context) as follows:&#010;&#010;web::cookiecontext yourContext&#010;proc yourContext::_getCookie {id} {&#010;    ::set cookie [web::request HTTP_COOKIE]&#010;    foreach v [split $cookie ";"] {&#010;        # get key and value: note: some cookies (e.g.. Google analytics)&#010;        # also use = in the value, so a simple split with =; does &#010;        # not always work...&#010;        set key [string trim [lindex [split $v =] 0]]&#010;        set value [string trim [join [lrange [split $v =] 1 end] =]]&#010;        lappend kvlist $key $value&#010;    }&#010;    # search for $datatag&#010;    foreach {key value} $kvlist {&#010;        if {[string compare $key $id] == 0} {&#010;            return $value&#010;        }&#010;    }&#010;    error "no matching cookie found"&#010;}&#010;&#010;&#010;&gt; Could you kindly tell me what did you do to solve this issue.&#010;&#010;And if you don't talk about Websh: make sure whatever pareses your&#010;cookies properly splits at "," characters and then just takes the&#010;everything before the first "=" as cookie name, the rest as value,&#010;even if it contains "0" aswell...&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: ANNOUNCE: Websh3.6.0b5</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200909.mbox/%3c20090927193625.GE6505@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090927193625-GE6505@netcetera-ch%3e</id>
<updated>2009-09-27T19:36:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Geroge&#010;&#010;&gt; Can websh be used to create an HTTP REST service in tcl?&#010;&#010;Sure. But then, I guess you can create a REST service with just about&#010;every technology.&#010;&#010;Websh at least provides an easy interface to handle PATH_INFO and all&#010;parameters or form vars. That's abot what you need to create a REST&#010;service.&#010;&#010;&gt; Ideally I want to have a thread pool (the one in the thread package)  &#010;&gt; with N threads already initialised. Can websh receive a request, place a  &#010;&gt; task in the thread pool and return the result?&#010;&#010;Well, I don't really know the thread package. Websh already provides&#010;an interpreter pool (when run as mod_websh) that you can use to handle&#010;mutliple requests per interpreter.&#010;&#010;It should not be a problem to use a thread package, as Websh is "just"&#010;an ordinary Tcl interpreter anyway. The only thing to onsider is&#010;making sure that you understand what your apache process model is and&#010;what you expect Websh to do, so that you scale where you actually plan&#010;it.&#010;&#010;That doesn't help much, I guess, but your question was pretty&#010;vage... I still hth ;-)&#010;&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>ANNOUNCE: Websh3.6.0b5</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200909.mbox/%3c20090924074218.GB18528@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090924074218-GB18528@netcetera-ch%3e</id>
<updated>2009-09-24T07:42:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
The Websh maintenance team is proud to announce Websh 3.6.0b5.&#010;&#010;Websh is a Tcl extension to support web application development and&#010;provides an Apache module for Apache 1.3, 2.0, and 2.2 servers. It&#010;compiles against Tcl 8.3 and later, including Tcl 8.6.&#010;&#010;Get the release from&#010;&#010;    http://tcl.apache.org/websh/download/&#010;&#010;More info about Websh can be found on the project home page&#010;&#010;    http://tcl.apache.org/websh&#010;&#010;Websh is known to compile under&#010;    Solaris (e.g. Solaris 8 to 10)&#010;    Linux (e.g. RedHat 6 and 8, SuSe 9.1, CentOS 4.3)&#010;    Windows XP and Vista(Visual Studion 6.0 nmake)&#010;    OS-X Tiger&#010;&#010;Websh3.6.0b5 is considered the most stable version of Websh so far,&#010;but it is still beta, as there are some issues regarding stability on&#010;Windows. (See CHANGES below)&#010;&#010;For a summary of Changes since Websh 3.5.0 refer to&#010;&#010;    http://svn.apache.org/repos/asf/tcl/websh/tags/3.6.0b5/CHANGES&#010;&#010;A detailed lst of changes can be found in&#010;&#010;    http://svn.apache.org/repos/asf/tcl/websh/tags/3.6.0b5/src/ChangeLog&#010;&#010;Any feedback welcome. Official mailing lists for questions:&#010;&#010;    websh-user@tcl.apache.org (user questions/discussions)&#010;    websh-dev@tcl.apache.org  (development questions/discussion)&#010;&#010;Ronnie Brunner&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh crash - possible cause</title>
<author><name>&quot;Ashok P. Nadkarni&quot; &lt;apnadkarni@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200906.mbox/%3c4A4068CE.2080308@yahoo.com%3e"/>
<id>urn:uuid:%3c4A4068CE-2080308@yahoo-com%3e</id>
<updated>2009-06-23T05:31:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
After fixing the logdest/close problem, the rest of the tests from 'make &#010;test' ran fine. I have not gotten around to running apachetest. It &#010;failed when I tried it because Ubuntu Apache does not have its &#010;configuration layout in the format expected by the test suite. I need to &#010;uninstall it and install a standard Apache distribution first and retry. &#010;Maybe today or tomorrow.&#010;&#010;/Ashok&#010;&#010;Ronnie Brunner wrote:&#010;&gt;&gt; It appears as though websh will crash if "logdest delete" is called on  &#010;&gt;&gt; log destination that is a channel after closing the channel via Tcl's  &#010;&gt;&gt; close command. In particular, test log-2.6 has the following sequence:&#010;&gt;&gt;    close $fh&#010;&gt;&gt;    web::logdest delete&#010;&gt;&gt;     &#010;&gt;&#010;&gt; Yes, web::logdest has a problem if the channel is closed. I'll be&#010;&gt; looking at this in the next few days. Thanks for finding that one.&#010;&gt;&#010;&gt; In the mean time: if you just put the [close $fh] statement after the&#010;&gt; [web::logdest delete] statement in this test: does your setup still&#010;&gt; crash? Do you get other errors?&#010;&gt;&#010;&gt;   &#010;&gt;&gt; Please verify if that might the problem. Of course, that may or may not  &#010;&gt;&gt; be the cause of the crashes you are seeing.&#010;&gt;&gt;     &#010;&gt;&#010;&gt; It is not the cause for my problems.&#010;&gt;&#010;&gt;   &#010;&gt;&gt; Funnily enough on XP and Tcl 8.6 the test suite runs fine. I suppose it  &#010;&gt;&gt; depends when that memory gets reused.&#010;&gt;&gt;     &#010;&gt;&#010;&gt; Yeah, probably. (I never had this test fail on my RedHat boxes either).&#010;&gt;&#010;&gt; Ronnie&#010;&gt;   &#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh crash - possible cause</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200906.mbox/%3c20090622174330.GN11447@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090622174330-GN11447@netcetera-ch%3e</id>
<updated>2009-06-22T17:43:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; It appears as though websh will crash if "logdest delete" is called on  &#010;&gt; log destination that is a channel after closing the channel via Tcl's  &#010;&gt; close command. In particular, test log-2.6 has the following sequence:&#010;&gt;    close $fh&#010;&gt;    web::logdest delete&#010;&#010;Yes, web::logdest has a problem if the channel is closed. I'll be&#010;looking at this in the next few days. Thanks for finding that one.&#010;&#010;In the mean time: if you just put the [close $fh] statement after the&#010;[web::logdest delete] statement in this test: does your setup still&#010;crash? Do you get other errors?&#010;&#010;&gt; Please verify if that might the problem. Of course, that may or may not  &#010;&gt; be the cause of the crashes you are seeing.&#010;&#010;It is not the cause for my problems.&#010;&#010;&gt; Funnily enough on XP and Tcl 8.6 the test suite runs fine. I suppose it  &#010;&gt; depends when that memory gets reused.&#010;&#010;Yeah, probably. (I never had this test fail on my RedHat boxes either).&#010;&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>websh crashes - possible cause</title>
<author><name>&quot;Ashok P. Nadkarni&quot; &lt;apnmbx-public@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200906.mbox/%3c4A3CC967.1030909@yahoo.com%3e"/>
<id>urn:uuid:%3c4A3CC967-1030909@yahoo-com%3e</id>
<updated>2009-06-20T11:35:03Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
(apologies if duplicate - my previous email did not show up on the list)&#010;&#010;Ronnie,&#010;&#010;Regarding the "make test" crashes on Ubuntu -&#010;&#010;It appears as though websh will crash if "logdest delete" is called on &#010;log destination that is a channel after closing the channel via Tcl's &#010;close command. In particular, test log-2.6 has the following sequence:&#010;   close $fh&#010;   web::logdest delete&#010;This results eventually in a call to Tcl_Flush from &#010;destroyLogToChannelData with a channel pointer that is no longer valid. &#010;The end-result is likely to be random crashes as Tcl_Flush does not seem &#010;to do any validation.&#010;&#010;Please verify if that might the problem. Of course, that may or may not &#010;be the cause of the crashes you are seeing.&#010;&#010;Funnily enough on XP and Tcl 8.6 the test suite runs fine. I suppose it &#010;depends when that memory gets reused.&#010;&#010;Regards&#010;&#010;/Ashok&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>websh crash - possible cause</title>
<author><name>&quot;Ashok P. Nadkarni&quot; &lt;apnadkarni@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200906.mbox/%3c4A3C9D82.1090903@yahoo.com%3e"/>
<id>urn:uuid:%3c4A3C9D82-1090903@yahoo-com%3e</id>
<updated>2009-06-20T08:27:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It appears as though websh will crash if "logdest delete" is called on &#010;log destination that is a channel after closing the channel via Tcl's &#010;close command. In particular, test log-2.6 has the following sequence:&#010;    close $fh&#010;    web::logdest delete&#010;This results eventually in a call to Tcl_Flush from &#010;destroyLogToChannelData with a channel pointer that is no longer valid. &#010;The end-result is likely to be random crashes as Tcl_Flush does not seem &#010;to do any validation.&#010;&#010;Please verify if that might the problem. Of course, that may or may not &#010;be the cause of the crashes you are seeing.&#010;&#010;Funnily enough on XP and Tcl 8.6 the test suite runs fine. I suppose it &#010;depends when that memory gets reused.&#010;&#010;Regards&#010;&#010;/Ashok&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: mod_websh DLL on Windows and other questions</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200906.mbox/%3c20090617074001.GB22545@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090617074001-GB22545@netcetera-ch%3e</id>
<updated>2009-06-17T07:40:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; In 3.6.0b4 (released version), copying the .so file to the modules  &#010;&gt; directory was sufficient on Windows. In the current CVS head, the .dll  &#010;&gt; also needs to be copied. The README specifically says the DLL is not  &#010;&gt; needed to run the Apache module and should be fixed. Only a nit, but  &#010;&gt; someone might spend a half-hour trying to figure out why Apache will not  &#010;&gt; load the module (like I did).&#010;&#010;Sorry for that one. I just committed a fix in the REAMDE.&#010;&#010;&gt; Also, another small request - would it be possible to change the build  &#010;&gt; or patch number in CVS to distinguish from the released 3.60.b4 ?&#010;&#010;Yeah, I guess it's about time to release at least 3.6.0b5. Unfortunately, &#010;I was reproved by Apache for releasing anything without following the&#010;proper ASF rules. It's about time I find out how to do it properly, I&#010;guess ;-) (Just using some "-SNAPSHOT" version does not really solve&#010;the problem of knowing what code is in use, it just makes sure that&#010;you don't mix up the released version with any other build... I'll try&#010;to think of something.)&#010;&#010;&gt; Finally two questions, on both Windows and *ix, does mod_websh need to  &#010;&gt; be built differently based on the Apache process model (MPM etc.) ? How  &#010;&gt; about whether the Tcl binaries are built threaded or not ?&#010;&#010;No, mod_websh does not care about MPMs or threads in Tcl (i.e. you&#010;don't have to change anything when building). Websh itself is thread&#010;safe. But it certainly makes difference when it's run in different&#010;environments:&#010;- If Apache runs in any threaded MPM, Tcl Must be threaded as well.&#010;- CGI case is independent of the model (for obvious reasonsn ;-)&#010;- If your Websh app uses threads: Tcl must be threaded too, regardless&#010;  of the MPM Apache runs&#010;- Interpreter handling is different when running in threaded&#010;  vs. non-threaded MPMs: For every (Apache) process there is an&#010;  interpreter pool. While requests can share interpreters within a&#010;  process, they cannot do so across processes. (For example this needs&#010;  to be considered when you try to create sessions kept in memory of&#010;  the Apache process, which only works properly if you run Apache in a&#010;  single process mode.)&#010;&#010;Hope that helps&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>mod_websh DLL on Windows and other questions</title>
<author><name>&quot;Ashok P. Nadkarni&quot; &lt;apnadkarni@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200906.mbox/%3c4A385C96.8020907@yahoo.com%3e"/>
<id>urn:uuid:%3c4A385C96-8020907@yahoo-com%3e</id>
<updated>2009-06-17T03:01:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
In 3.6.0b4 (released version), copying the .so file to the modules &#010;directory was sufficient on Windows. In the current CVS head, the .dll &#010;also needs to be copied. The README specifically says the DLL is not &#010;needed to run the Apache module and should be fixed. Only a nit, but &#010;someone might spend a half-hour trying to figure out why Apache will not &#010;load the module (like I did).&#010;&#010;Also, another small request - would it be possible to change the build &#010;or patch number in CVS to distinguish from the released 3.60.b4 ?&#010;&#010;Finally two questions, on both Windows and *ix, does mod_websh need to &#010;be built differently based on the Apache process model (MPM etc.) ? How &#010;about whether the Tcl binaries are built threaded or not ?&#010;&#010;Thanks&#010;&#010;/Ashok&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Incorrect out put from cmdurl when url has an explicit port</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200905.mbox/%3c20090522140823.GE23459@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090522140823-GE23459@netcetera-ch%3e</id>
<updated>2009-05-22T14:08:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; If I access a script using the URL  &#010;&gt; http://localhost:8080/printrequest.wtf (I'm using wtf as the extension  &#010;&gt; instead of ws3), then the command&#010;&gt;&#010;&gt; web::put [web::cmdurl command -urlformat {scheme host port scriptname  &#010;&gt; pathinfo querystring}]&#010;&gt;&#010;&gt; outputs "http://localhost:8080:8080/printrequest.wtf?XDxJ7kkLRVB75Hb..."  &#010;&gt; in the web page.&#010;&#010;I commited a fix today. If you want to check it out: Get the latest&#010;source from http://svn.apache.org/repos/asf/tcl/websh/trunk&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: About Websh... Sessions and stuff..:)</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200905.mbox/%3c20090505190351.GB26987@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090505190351-GB26987@netcetera-ch%3e</id>
<updated>2009-05-05T19:03:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi&#010;&#010;&gt; Well, I tried out the stuff you said but the somehow the include&#010;&gt; from the interpreter files doesn't work! Because I tried everything&#010;&gt; and i still can't include my functions with it...:(&#010;&#010;Are you sure your websh.conf is setup and configured in Apache&#010;correctly? (And that you are not running CGI, but mod_websh)&#010;&#010;Important steps to check:&#010;- Is websh.conf actually read by Apache?&#010;- Is the web::interpmap in websh.conf properly sourced?&#010;- Is the referenced interpclass (the file name returned by&#010;  web::interpmap) sourced correctly?&#010;- Does the interpclass handle the actual script correctly?&#010;&#010;If you could send a relevant code snipplet, I could try to find what's&#010;wrong.&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: About Websh... Sessions and stuff..:)</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200905.mbox/%3c20090503220801.GA23947@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090503220801-GA23947@netcetera-ch%3e</id>
<updated>2009-05-03T22:08:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; First of all I would like to congratulate you guys for your efforts WebSh.. it's a good&#010;alternative.. BUT&#010;&gt; It takes a lot of time to develop something serious.. You get lots of errors and have&#010;to debug it like no other...&#010;&#010;I guess that depends on how familiar you with it... We've done dome&#010;pretty serious things and usually we get somewhere within a few&#010;hours. But I'm certainly aware that there is some effort needed to get&#010;into Websh.&#010;&#010;&gt; The&#010;&gt; web::dispatch thing is very good when you have 1 file.. But what do I&#010;&gt; do when i've got 3 files and I need to communicate one with another?&#010;&gt; Send data and stuff... Because I made a something with web::include...&#010;&gt; and even altered the web::cmdurlcfg -scriptname ...&#010;&gt; How can you use&#010;&gt; the sessions so you ACTUALLY send it from one page(file) to another.. i&#010;&gt; tried almost everything.. and nothing worked... &#010;&#010;The basic idea is that you have an interpreter class that contains all&#010;common code so that you only put in a specific page what you actually&#010;want to have there. In your setup, I'd expect auth.ws3 (and some stuff&#010;to abstract html in the common code, while index.ws3 probably just&#010;renders the index page. Sonething like:&#010;&#010;index.ws3:&#010;&#010;  if {[isAuthorized]} {&#010;    page "Your title" {&#010;      navigation "My Entry"&#010;      title {Here it comes}&#010;      p {Foo bar zoo}&#010;    }&#010;  }&#010;&#010;While [isAuthorized] renders a login page if not authorized.&#010;&#010;In such a setup you don't really need web::dispatch.&#010;&#010;web::dispatch I'd setup to be used in something like admin.ws3, where&#010;you have a couple of commands needing to be handled, so that admin.ws3&#010;acts like an app itself.&#010;&#010;&gt; Or can you&#010;&gt; make it so that once you set a session you can get it back in every&#010;&gt; file you access? (Just like php, not only through links)&#010;&#010;Sure: as long as the session handling code is in the common code,&#010;e.g. using a cookie context that refers to a session using a cookie,&#010;so you don't have to put anything in the URL (though nothing keeps you&#010;from doing this).&#010;&#010;&gt; How&#010;&gt; should I access those multiple files if i need them? How should I&#010;&gt; rescript my script in order to work that way.. (clearly: i go to my&#010;&gt; site, i see index.ws3 that includes auth.ws3  then i chose a link to&#010;&gt; register, .. the form &amp; settings go on.. Registration is succesful,&#010;&gt; i look in my database and it works, then i login succesfully.. and then&#010;&gt; the problems come... sessions work only on the first page after the&#010;&gt; login (map.ws3) but only a part there.. for the rest i get some weird&#010;&gt; problems, sometimes a few procs don't work..)&#010;&#010;This should be answered by the above explanation. Maybe the additional&#010;hint helps:&#010;&#010;in websh.conf, use&#010;&#010;  proc web::interpmap {file} {&#010;    return /path-to-your/wrapper&#010;  }&#010;  web::interpclasscfg /path-to-your/wrapper maxrequests 0&#010;&#010;your wrapper looks like:&#010;&#010;  # only source the code on the first request&#010;  web::initializer {&#010;    web::include /path-to-your/common-code&#010;  }&#010;  # process the actual web page&#010;  web::include "[web::config script]"&#010;&#010;and your common-code contains all your shared code used in the various&#010;pages like index.ws3, register.ws3 etc.&#010;&#010;hth&#010;&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>About Websh... Sessions and stuff..:)</title>
<author><name>Lost One &lt;the.lostone@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200905.mbox/%3c37191.23300.qm@web57513.mail.re1.yahoo.com%3e"/>
<id>urn:uuid:%3c37191-23300-qm@web57513-mail-re1-yahoo-com%3e</id>
<updated>2009-05-03T20:58:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
First of all I would like to congratulate you guys for your efforts WebSh.. it's a good alternative..&#010;BUT&#010;It takes a lot of time to develop something serious.. You get lots of errors and have to debug&#010;it like no other...&#010;I spent a few hours compiling the mod_websh with xampp to find out later on that Apache provides&#010;a easy binary of Apache...&#010;&#010;The&#010;past 3 days  I spent more than 20 hours in total to make a pathetic&#010;Register, Login, Request Password and template file..... It wouldn't&#010;have taken more than a few hours to make it in PHP! (well.. debugging +&#010;sql testing..)&#010;And I still have problems with it .. I'm thinking of&#010;deleting it and every file i used for WebSh on my computer because of&#010;the time I lost trying to figure out a few simple things ...&#010;I read all the documentation, went through all the examples And i have a few&#010; questions(well,a lot more but i'll put some examples later`}&#010;&#010;The&#010;web::dispatch thing is very good when you have 1 file.. But what do I&#010;do when i've got 3 files and I need to communicate one with another?&#010;Send data and stuff... Because I made a something with web::include...&#010;and even altered the web::cmdurlcfg -scriptname ...&#010;How can you use&#010;the sessions so you ACTUALLY send it from one page(file) to another.. i&#010;tried almost everything.. and nothing worked... &#010;&#010;Or can you&#010;make it so that once you set a session you can get it back in every&#010;file you access? (Just like php, not only through links)&#010;&#010;How&#010;should I access those multiple files if i need them? How should I&#010;rescript my script in order to work that way.. (clearly: i go to my&#010;site, i see index.ws3 that includes auth.ws3  then i chose a link to&#010;register, .. the form &amp; settings go on.. Registration is succesful,&#010;i look in my database and it works, then i login succesfully.. and then&#010;the problems come... sessions work only on the first page after the&#010;login (map.ws3) but only a part there.. for the rest i get some weird&#010;problems, sometimes a few procs don't work..)&#010;&#010;Thanks in advance...&#010;&#010;P.S. Any motives in WHY i should still use WebSh? Cause i already spent a lot of time in learning&#010;it...&#010;&#010;If you have some extra examples you guys could show me.. i would be very happy to learn out&#010;of them..&#010;&#010;&#010;Andrei&#010;&#010;&#010;&#010;      &#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Cookie Based Sessions / Google Analytics</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200904.mbox/%3c20090416092057.GA4137@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090416092057-GA4137@netcetera-ch%3e</id>
<updated>2009-04-16T09:20:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi&#010;&#010;&gt; &gt; Does anyone have any idea why cookies with the leading underscores would  &#010;&gt; &gt; do this?&#010;&gt;&#010;&gt; Can you provide a sample that doesn't work (a list of cookies that are&#010;&gt; not read correctly)? Are you running mod_websh or websh in CGI? Which&#010;&gt; version? 3.6.0b4 or latest from repository? (Although nothing&#010;&gt; regarding cookies changed since 3.6.0b4 was changed.&#010;&#010;Someone sent me an example and I could track down the problem: Google&#010;Analytics sends cookies that contain '=' characters in the cookie&#010;value. Websh assumed that '=' only separates cookie names from values&#010;and tehrefore parsed the cookies not correctly in some cases.&#010;&#010;Anyway: usually nobody want to know what the problem was, as long as&#010;it's fixed now, therefore: it is fixed now :-)&#010;Get the latest version from the repository to check it out if needed.&#010;&#010;Regards&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Authentification</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200904.mbox/%3c20090410205446.GA1617@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090410205446-GA1617@netcetera-ch%3e</id>
<updated>2009-04-10T20:54:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi again&#010;&#010;&gt; &gt; some time ago (Apr 2006) we had a discussion on how to add access to&#010;&gt; &gt; user/password from the authentication of APACHE.&#010;&gt; &gt; For this new installation I decided to use the newest version from&#010;&gt; &gt; SVN, also because there were some bugfixes with response and APACHE&#010;&gt; &gt; 2.2 reported. I sadly recognized, that the changes were not in&#010;&gt; &gt; (yet). Any plans to do so?&#010;&#010;I just committed some changes that expose Bais Auth user and password&#010;to Websh. (Aren't religious holidays like "Karfreitag" a wonderful thing&#010;for us developers with a daytime job? ;-)&#010;&#010;The new paragraphs from the (committed, but unpublished) quick&#010;reference (request_data_handling.html):&#010;&#010;""Special case for handling Basic Auth:&#010;&#010;web::request AUTH_USER&#010;    returns the username provided by the user when Basic Auth is&#010;    requested and Apache does not handle it (i.e. if Apache does not&#010;    provide REMOTE_USER). &#010;web::request AUTH_PW&#010;    returns the password provided by the user when Basic Auth is&#010;    requested and Apache does not handle it (i.e. if Apache does not&#010;    provide REMOTE_USER). &#010;&#010;The following example provides a basic app that requires Basic Auth&#010;and completely bypasses Apache's auth mechanisms.&#010;&#010;Example 7. web::request AUTH_USER and web::request AUTH_PW&#010;&#010;  # returns 1 if user/pass provided is websh/websh&#010;  proc isAuthenticated {} {&#010;    if {[web::request -count AUTH_USER]} {&#010;    set user [web::request AUTH_USER]&#010;    set pass [web::request AUTH_PW]&#010;    if {[string eq $user "websh"] &amp;&amp; [string eq $pass "websh"]} {&#010;        return 1&#010;&#009;}&#010;    }&#010;    return 0&#010;  }&#010;&#010;  # the default command requests Basic Auth unless provided correctly&#010;  web::command default {&#010;    if {![isAuthenticated]} {&#010;    web::response -set Status {401 Authorization Required}&#010;    web::response -set WWW-Authenticate {Basic realm="Websh auth"}&#010;    web::put "Sorry, you're out"&#010;    } else {&#010;    web::put "You're in"&#010;    }&#010;  }&#010;&#010;  # command dispath&#010;  web::dispatch&#010;  &#010;&#010;Note: CGI usually does not expose the Basic Auth Authorization header&#010;for security reasons. The following configuration for Apache (as of&#010;version 2.0.51) will allow Websh to also provide the same&#010;functionality when running in CGI (requires mod_setenvif):&#010;&#010;Example 8. Apache configuration for AUTH_USER and AUTH_PW to work&#010;           under CGI&#010;&#010;  SetEnvIf Authorization "^(Basic .+)$" AUTH_BASIC=$1&#010;&#010;Important security consideration: This configuration will also expose&#010;the authentication information to Websh when Apache does handle the&#010;authentication. Although Websh hides the information in that case it&#010;is always available in the CGI environment. Use this Configuration&#010;carefully.""&#010;&#010;If you ever find the time to play around with this let me know if it&#010;works for you.&#010;&#010;Best regards&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Authentification</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200902.mbox/%3c20090220171449.GI5028@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090220171449-GI5028@netcetera-ch%3e</id>
<updated>2009-02-20T17:14:49Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Holger&#010;&#010;&gt; some time ago (Apr 2006) we had a discussion on how to add access to&#010;&gt; user/password from the authentication of APACHE.&#010;&#010;Sure I remember. I actually have some uncommitted code lying around, but&#010;I never really made it work properly. If you accidentially followed my&#010;post on c.l.t two days ago: thats' one of those loose ends, I'd like to&#010;tie sometime ;-)&#010;&#010;&gt; Today I installed websh on a new server (upgrading to APACHE 2.2.10). &#010;&gt; I had some problems, which basically resulted from using&#010;&gt; &#010;&gt;     web::response -httpresponse  "HTTP/1.x 401"&#010;&gt; &#010;&gt; which worked fine with APACHE 2.0. Now it needs to be&#010;&gt; &#010;&gt;     web::response -httpresponse  "HTTP/1.0 401 Unauthorized"&#010;&gt; &#010;&gt; otherwise the response status will not make it to the&#010;&gt; browser. Instead "HTTP/1.0 200 OK" is sent, which is not triggering&#010;&gt; the user/password dialog in the browser.&#010;&gt; This seems to be in the APACHE part, at least I did not see anything&#010;&gt; in websh to do this.&#010;&#010;A similar problem was reported ercently about -httpresponse not&#010;working anymore. A workaround for pretty much any header to send seems&#010;&#010;    web::response -set Status "401 $myResponseText"&#010;&#010;&gt; &gt; You have me almost convinced :-) ...&#010;&gt; &#010;&gt; For this new installation I decided to use the newest version from&#010;&gt; SVN, also because there were some bugfixes with response and APACHE&#010;&gt; 2.2 reported. I sadly recognized, that the changes were not in&#010;&gt; (yet). Any plans to do so?&#010;&#010;As I wrote above: Plan: yes. Any time soon? I can't promise&#010;anything. I have another thing I want to commit first: load&#010;libwebsh.so/websh.dll from websh/websh.exe and mod_websh.so instead of&#010;statically linking the same object code to the various targets. (No&#010;functional change, but just a cleaner way to deploy, as the compiled&#010;code installed only once.) When this is done: I'll give it another&#010;try.&#010;&#010;&gt; However, I integrated your patch for 2.0 and it again works like a&#010;&gt; charm for me.&#010;&#010;Thanks for letting me kow :-)&#010;&#010;Cheers&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Authentification</title>
<author><name>&quot;Holger Zeinert&quot; &lt;holger.zeinert@lmsintl.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200902.mbox/%3cBB046CA812535C45BD0029AA9D04BA790603184D@KL-SRV57.lmsintl.com%3e"/>
<id>urn:uuid:%3cBB046CA812535C45BD0029AA9D04BA790603184D@KL-SRV57-lmsintl-com%3e</id>
<updated>2009-02-20T16:53:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Ronny,&#010;&#010;some time ago (Apr 2006) we had a discussion on how to add access to user/password from the&#010;authentication of APACHE.&#010;&#010;Today I installed websh on a new server (upgrading to APACHE 2.2.10). &#010;I had some problems, which basically resulted from using&#010;&#010;    web::response -httpresponse  "HTTP/1.x 401"&#010;&#010;which worked fine with APACHE 2.0. Now it needs to be&#010;&#010;    web::response -httpresponse  "HTTP/1.0 401 Unauthorized"&#010;&#010;otherwise the response status will not make it to the browser. Instead "HTTP/1.0 200 OK" is&#010;sent, which is not triggering the user/password dialog in the browser. &#010;This seems to be in the APACHE part, at least I did not see anything in websh to do this.&#010;&#010;&#010;&gt; &gt; &gt; &gt; Any suggestions why it should (or not) be included?&#010;&gt; &gt; &gt; &#010;&gt; &gt; &gt; simple answer: it's available in &#010;&gt; &gt; &gt; &#009;- Rivet &#010;&gt; &gt; &gt; &#009;&#009;via $USER(user) / $USER(pass) &#010;&gt; &gt; &gt; &#009;- PHP &#010;&gt; &gt; &gt; &#009;&#009;via a variable $PHP_AUTH_USER / $PHP_AUTH_PW rsp.&#010;&gt; &gt; &gt; &#009;&#009;$_SERVER['PHP_AUTH_USER'] / $_SERVER['PHP_AUTH_PW'], &#010;&gt; &gt; &gt; &#009;&#009;see http://de3.php.net/manual/de/features.http-auth.php&#010;&gt; &gt; &gt; &#010;&gt; &gt; &gt; PHP mentions, that it only works if PHP is used as module. I &#010;&gt; &gt; &gt; guess the same would apply to WebSH. If an external auth mechanism&#010;&gt; &gt; &gt; was used, then REMOTE_USER is set and user/password is not&#010;&gt; &gt; &gt; available for security reasons.&#010;&gt;  &#010;&gt; You have me almost convinced :-) ...&#010;&#010;For this new installation I decided to use the newest version from SVN, also because there&#010;were some bugfixes with response and APACHE 2.2 reported. I sadly recognized, that the changes&#010;were not in (yet). Any plans to do so? &#010;&#010;However, I integrated your patch for 2.0 and it again works like a charm for me.&#010;&#010;Best regards&#010;Holger&#010;&#010;&#010;Holger Zeinert&#010;Product Development Manager LMS TecWare&#010;&#010;LMS Deutschland GmbH&#010;Test Division&#010;Luxemburger Str. 7&#010;D-67657 Kaiserslautern [Germany]&#010;&#010;T +49 631 30322 223&#010;M +49 163 4166 300&#010;F +49 631 30322 166&#010;&#010;mailto:holger.zeinert(a)lmsintl.com&#010;http://www.lmsintl.com&#010;___________________________________________&#010;LMS Deutschland GmbH&#010;Geschäftsführer: Heinz-Peter Vogt, Dr.-Ing. Urbain Vandeurzen&#010;Sitz: Kaiserslautern&#010;Registergericht: HRB Kaiserslautern 3706&#010;&#010;&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Cookie Based Sessions / Google Analytics</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200902.mbox/%3c20090217082541.GA22625@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090217082541-GA22625@netcetera-ch%3e</id>
<updated>2009-02-17T08:25:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Does anyone have any idea why cookies with the leading underscores would  &#010;&gt; do this?&#010;&#010;Nope.&#010;&#010;Can you provide a sample that doesn't work (a list of cookies that are&#010;not read correctly)? Are you running mod_websh or websh in CGI? Which&#010;version? 3.6.0b4 or latest from repository? (Although nothing&#010;regarding cookies changed since 3.6.0b4 was changed.&#010;&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cookie Based Sessions / Google Analytics</title>
<author><name>Leon Hauck &lt;leon@fulcrum-hosting.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200902.mbox/%3c4999D888.5030209@fulcrum-hosting.com%3e"/>
<id>urn:uuid:%3c4999D888-5030209@fulcrum-hosting-com%3e</id>
<updated>2009-02-16T21:20:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I posted this a while back and didn't get an answer so I thought I'd &#010;give it another try since the problem reared it's head again.&#010;&#010;We're using cookie based sessions with no problems, until we add the &#010;Google Analytics Tracking Code.  This creates a couple of cookies that &#010;start with __utxx as their name.&#010;&#010;Once those cookies are in the browser then our websh based session &#010;variables don't work.  If we go in and delete the __utxx cookies, &#010;everything is back to normal.&#010;&#010;Does anyone have any idea why cookies with the leading underscores would &#010;do this?&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Panic message in the log file</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200901.mbox/%3c20090111200955.GB8008@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090111200955-GB8008@netcetera-ch%3e</id>
<updated>2009-01-11T20:09:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; [Sun Jan 11 08:14:11 2009] [notice] Child 5380: All worker threads have &#010;&gt; exited.&#010;&gt; Tcl_AsyncDelete: async handler deleted by the wrong thread&#010;&gt; &#010;&gt; This application has requested the Runtime to terminate it in an unusual &#010;&gt; way.&#010;&gt; Please contact the application's support team for more information.&#010;&gt; [Sun Jan 11 08:14:11 2009] [notice] Parent: Child process exited &#010;&gt; successfully.&#010;&#010;The message comes from Tcl, not from Websh code (I mean, at least&#010;not directly, as we don't call Tcl_AsyncDelete anywhere...)&#010;&#010;&gt; Any ideas? Or should it be ignored.&#010;&#010;Seems not too big a problem since it occurs only during shutdown, which is&#010;not a particularily reliable status anyway, right ;-) &#010;&#010;&gt; I'm running websh 3.6b1 with no other binary extensions loaded.&#010;&#010;The panic message in Tcl_AsyncDelete was introduced only in April 2008&#010;to Tcl. Who's calling it though: sorry, can't tell.&#010;&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: websh does not allow multiple Set-Cookie headers?</title>
<author><name>Ronnie Brunner &lt;ronnie.brunner@netcetera.ch&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/tcl-websh-user/200901.mbox/%3c20090111190031.GA8008@netcetera.ch%3e"/>
<id>urn:uuid:%3c20090111190031-GA8008@netcetera-ch%3e</id>
<updated>2009-01-11T19:00:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Never mind, didn't realize you can specify multiple values to &#010;&gt; web::response -set to generate multiple header lines for the same key.&#010;&#010;In addition, you can add multiple cookies (headers) using the&#010;-lappend option:&#010;&#010;&gt; websh&#010;% web::response -set Set-Cookie Foo&#010;Foo&#010;% web::response -lappend Set-Cookie Bar&#010;Foo Bar&#010;% web::response -lappend Set-Cookie Zoo&#010;Foo Bar Zoo&#010;% web::put Test&#010;Content-Type: text/html&#010;Set-Cookie: Foo&#010;Set-Cookie: Bar&#010;Set-Cookie: Zoo&#010;Generator: websh 3.6.0b4&#010;&#010;Test%&#010;&#010;hth&#010;Ronnie&#010;-- &#010;Ronnie Brunner | ronnie.brunner@netcetera.ch&#010;phone +41-44-247 79 79 | fax +41-44-247 70 75&#010;Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch&#010;&#010;---------------------------------------------------------------------&#010;To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org&#010;For additional commands, e-mail: websh-user-help@tcl.apache.org&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
</feed>
