You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(32) |
Feb
(23) |
Mar
(23) |
Apr
(11) |
May
(19) |
Jun
(8) |
Jul
(28) |
Aug
(19) |
Sep
(11) |
Oct
(8) |
Nov
(39) |
Dec
(22) |
2002 |
Jan
(14) |
Feb
(64) |
Mar
(14) |
Apr
(28) |
May
(25) |
Jun
(34) |
Jul
(26) |
Aug
(88) |
Sep
(66) |
Oct
(26) |
Nov
(16) |
Dec
(22) |
2003 |
Jan
(18) |
Feb
(16) |
Mar
(20) |
Apr
(20) |
May
(26) |
Jun
(43) |
Jul
(42) |
Aug
(22) |
Sep
(41) |
Oct
(37) |
Nov
(27) |
Dec
(23) |
2004 |
Jan
(26) |
Feb
(9) |
Mar
(40) |
Apr
(24) |
May
(26) |
Jun
(56) |
Jul
(15) |
Aug
(19) |
Sep
(20) |
Oct
(30) |
Nov
(29) |
Dec
(10) |
2005 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2006 |
Jan
(10) |
Feb
(6) |
Mar
(10) |
Apr
(9) |
May
(4) |
Jun
(1) |
Jul
(2) |
Aug
(6) |
Sep
(1) |
Oct
(1) |
Nov
(11) |
Dec
|
2007 |
Jan
(4) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(5) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(19) |
Dec
(3) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Jeff S. <hea...@ya...> - 2005-07-21 04:06:23
|
--- Mel <con...@ya...> wrote: > i have a few basic questions. > > - i have pre-existing code written win Don's cgi.tcl > - i am using latest tclhttpd kit, which is unwrapped > with my > own code placed in htdoc > > - my index.tml looks like: > [Doc_Dynamic] > > <LINK REL="STYLESHEET" HREF="site.css"> > <LINK REL="STYLESHEET" HREF="/TKT/doc/TKT.css"> > > [ > package require cgi > > set env(SERVER_ADDR) 127.0.0.1 > set APP TKT > set ENV dev > > lappend auto_path\ > $starkit::topdir/htdocs/tk\ > $starkit::topdir/htdocs/tk/src\ > $starkit::topdir/htdocs/tk/src/util\ > $starkit::topdir/htdocs/$APP/app.vfs/lib/app > > tk::TraceOff > > cgi_buffer { > cgi_input > cgi_debug -on > > tk::start > } > ] > > So far so good, i start httpd and it goes to my page > and all is fine > now the problems begin: > > *** every time i refresh the page, i see that all > images are re-loaded. > (not happening under apache) > > *** even though i click on links, i can see that my > url is changed, and > i even see it from cgi_debug that all my url items > are correct. > However, i still get the home page as though nothing > has happened. > > I was under the impression that [Doc_Dynamic] should > re-load the > content > > can someone please help me here :-) > > > > http://Mel.RedOlive.com Mel, Sorry I can't answer your questions. However, I have had success running Don Libes' cgi.tcl with TclHttpd. I run Wikit in a slave interpreter with a TclHttpd starkit. Wikit uses Don Libes' cgi.tcl. I created and then destroyed a slave interpreter per request to simulate a cgi environment. If you are interested see http://wiki.tcl.tk/11121 Also I am in the process of getting the examples that come with Don Libes' cgi.tcl package working with a TclHttpd starkit. This uses the same approach as above. I have most of the examples working but some of the examples "exec" some unix specific commands. I'll see if there is a Tcl equivalent so the examples run on windows as well. I am going to post to the Tcler's wiki when I have finished. I'll email you seperately what I have done so far as a starkit! Hope this helps! Kind Regards Jeff Smith __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Mel <con...@ya...> - 2005-07-20 14:05:03
|
i have a few basic questions. - i have pre-existing code written win Don's cgi.tcl - i am using latest tclhttpd kit, which is unwrapped with my own code placed in htdoc - my index.tml looks like: [Doc_Dynamic] <LINK REL="STYLESHEET" HREF="site.css"> <LINK REL="STYLESHEET" HREF="/TKT/doc/TKT.css"> [ package require cgi set env(SERVER_ADDR) 127.0.0.1 set APP TKT set ENV dev lappend auto_path\ $starkit::topdir/htdocs/tk\ $starkit::topdir/htdocs/tk/src\ $starkit::topdir/htdocs/tk/src/util\ $starkit::topdir/htdocs/$APP/app.vfs/lib/app tk::TraceOff cgi_buffer { cgi_input cgi_debug -on tk::start } ] So far so good, i start httpd and it goes to my page and all is fine now the problems begin: *** every time i refresh the page, i see that all images are re-loaded. (not happening under apache) *** even though i click on links, i can see that my url is changed, and i even see it from cgi_debug that all my url items are correct. However, i still get the home page as though nothing has happened. I was under the impression that [Doc_Dynamic] should re-load the content can someone please help me here :-) http://Mel.RedOlive.com ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |
From: Colin M. <co...@ch...> - 2005-07-19 04:24:04
|
On Tue, 2005-07-19 at 12:37 +1200, Paul Nash wrote: > I am migrating windows/sambar/activetcl wensites to > linux/tclhttpd/activetcl. (apache proved to limiting) > First stage is to migrate to windows/tclhttpd/activetcl. > This works OK if I rename the *.tcl scripts to *.cgi scripts. > But I figure I should be able to tell tclhttpd to handle the .tcl scripts as > cgis. > Can someone tell me how to do this please. You probably don't want to do that :) Have you looked at template files? They're indicated by the suffix .tml, and the content of the file is run through tcl's subst command. Anyway, it's possible that you could get the effect you desire by: Mtype_Add .tcl application/x-cgi although I really thought that .tcl files were just known and executed ... try moving one under your Doc root instead of under your Cgi root and see what happens if you try loading it (as .html or as .tcl.) The trouble with running tcl as a cgi is that you have to start up another copy of the tcl interpreter executable, whereas a .tml file can just run under the existing interpreter. If you can rewrite your scripts so they return a value instead of writing it to a file descriptor, you can make them .tml files by just enclosing their content in [] Finally, if you're keen, and nothing else works, and you don't want to rewrite the stuff, you could write a proc Doc_application/x-tcl which does whatever you want with .tcl content. Indeed, this extends to any extension you like to use (see the other Doc_application/* procs for some hints on how.) Colin. |
From: Paul N. <web...@ih...> - 2005-07-19 00:38:06
|
I am migrating windows/sambar/activetcl wensites to linux/tclhttpd/activetcl. (apache proved to limiting) First stage is to migrate to windows/tclhttpd/activetcl. This works OK if I rename the *.tcl scripts to *.cgi scripts. But I figure I should be able to tell tclhttpd to handle the .tcl scripts as cgis. Can someone tell me how to do this please. Regards, Paul Nash webscool.org |
From: Sergei G. <sg...@be...> - 2005-07-12 13:38:35
|
I have problem with `sdx update' via TclHTTPD. When I do, for example, sdx.kit update -from localhost:8015/cgi-bin/sync.cgi tclhttpd.kit I see TCLHTTPD: fetching from localhost:8015/cgi-bin/sync.cgi ... and nothing to process (seem as tclhttpd no reply) Same script `sync.cgi' works pretty well with Apache Web server. I want to use tclhttpd as my web server for updating my starkit files, but perhaps I do something wrong. Anybody did `sdx update' with TclHTTPD? I use the latest tclhttpd (3.5.1) and the latest sdx.kiti with Linux Slackware 9.1. All stuffs as chown/chmod for starkit archive folder are correct (so, the Apache work!). May be need place some line(s) in the tclhttpd.rc file? Please, if you know what need do, answer me! Thank you forward, Sergei Gavrikov |
From: yahalome <yah...@xo...> - 2005-07-04 06:07:59
|
I checked with latest cvs version and the problem is still there. I will report a bug on it. Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: yah...@xo... web: http://www.xortechnologies.com -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of tcl...@li... Sent: Thursday, June 30, 2005 5:25 AM To: tcl...@li... Subject: TclHttpd-users digest, Vol 1 #562 - 1 msg Send TclHttpd-users mailing list submissions to tcl...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/tclhttpd-users or, via email, send a message with subject or body 'help' to tcl...@li... You can reach the person managing the list at tcl...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of TclHttpd-users digest..." Today's Topics: 1. Re: tclhttpd http protocol violation (Michael Schlenker) --__--__-- Message: 1 Date: Wed, 29 Jun 2005 14:32:18 +0200 From: Michael Schlenker <sc...@un...> CC: tcl...@li... Subject: [Tclhttpd-users] Re: tclhttpd http protocol violation yahalom wrote: > I am trying to retrieve xml file that is accessible on my tclhttpd > server. I use .net for it (I hate .net but our customers seems to like > it). .net complains that tclhttpd committed http violation. the error > is: > Message "The underlying connection was closed: The server committed an > HTTP protocol violation." > I looked at tclhttpd headers and they look fine. I googled and found > suggestions but none helped. > does anybody know what http protocol violation tclhttpd commits? > Not sure, but maybe you should cc to the tclhttpd mailing list. The only thing i could think of would be claiming HTTP1.0 but supporting some HTTP1.1 features. M$ should produce better error messages. Michael --__--__-- _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users End of TclHttpd-users Digest |
From: Kristoffer L. <se...@fi...> - 2005-06-30 05:21:30
|
On 30 Jun 2005, at 07:44, Colin McCormack wrote: > > There is one place where I *know* the released version violates > HTTP1.* > - in responding to if-changed-since, when responding to a request to > send a file only if it's changed tclhttpd sends a no-change header, > with > a body or entity containing some verbiage. The spec clearly says > there > must be no such entity. I guess MS could be picking that up and > complaining (although it'll be a cold day in hell when MS conforms to > specs, but that's another discussion.) Well with Apple going Intel I think there's a bit of an icy wind blowing down there already ;-) Did you get my patch for a problem relating to http redirect and cookies? When is there to be a planned release of the latest version? / http://www.fishpool.com/~setok/ |
From: Colin M. <co...@ch...> - 2005-06-30 04:44:43
|
On Wed, 2005-06-29 at 14:32 +0200, Michael Schlenker wrote: > yahalom wrote: > > I am trying to retrieve xml file that is accessible on my tclhttpd > > server. I use .net for it (I hate .net but our customers seems to like > > it). .net complains that tclhttpd committed http violation. the error > > is: > > Message "The underlying connection was closed: The server committed an > > HTTP protocol violation." > > I looked at tclhttpd headers and they look fine. I googled and found > > suggestions but none helped. > > does anybody know what http protocol violation tclhttpd commits? > > > Not sure, but maybe you should cc to the tclhttpd mailing list. > > The only thing i could think of would be claiming HTTP1.0 but supporting > some HTTP1.1 features. M$ should produce better error messages. There is one place where I *know* the released version violates HTTP1.* - in responding to if-changed-since, when responding to a request to send a file only if it's changed tclhttpd sends a no-change header, with a body or entity containing some verbiage. The spec clearly says there must be no such entity. I guess MS could be picking that up and complaining (although it'll be a cold day in hell when MS conforms to specs, but that's another discussion.) So, your correspondant might try getting the latest CVS version, where I think I fixed that problem. Colin. |
From: Michael S. <sc...@un...> - 2005-06-29 12:32:30
|
yahalom wrote: > I am trying to retrieve xml file that is accessible on my tclhttpd > server. I use .net for it (I hate .net but our customers seems to like > it). .net complains that tclhttpd committed http violation. the error > is: > Message "The underlying connection was closed: The server committed an > HTTP protocol violation." > I looked at tclhttpd headers and they look fine. I googled and found > suggestions but none helped. > does anybody know what http protocol violation tclhttpd commits? > Not sure, but maybe you should cc to the tclhttpd mailing list. The only thing i could think of would be claiming HTTP1.0 but supporting some HTTP1.1 features. M$ should produce better error messages. Michael |
From: Erik L. <e.l...@hc...> - 2005-03-22 19:05:06
|
-------- Original Message -------- Subject: tclhttpd with ssl3 Date: 21 Mar 2005 21:57:28 -0800 From: yah...@XO... (yahalom) Organization: http://groups.google.com Newsgroups: comp.lang.tcl hello I work with tclhttpd that uses ssl2 with its server certificate (server.pem skey.pem) and it works fine. I try to make tclhttpd work with ssl3. I installed a certificate on my computer and changed the relevant configuration in tclhttpd.rc. when I browse to my https site I get a prompt from the browser to select a certificate. when I choose the one I installed (the only one I have) I am getting "page cannot be displayed". I am not an expert in the ssl area so I need some clarification. is there someting more I need to put in the certs directory in order to make the client authentication work? how does tclhttpd does the client authentication? this is what I see when I write arguments that are sent to tls callback: info sock11 handshake start {before/accept initialization} info sock11 accept loop {before/accept initialization} info sock11 accept loop {SSLv3 read client hello A} info sock11 accept loop {SSLv3 write server hello A} info sock11 accept loop {SSLv3 write certificate A} info sock11 accept loop {SSLv3 write certificate request A} info sock11 accept loop {SSLv3 flush data} info sock11 accept exit {SSLv3 read client certificate A} info sock11 accept exit {SSLv3 read client certificate A} info sock11 handshake start {before/accept initialization} info sock11 accept loop {before/accept initialization} info sock11 accept loop {SSLv3 read client hello A} info sock11 accept loop {SSLv3 write server hello A} info sock11 accept loop {SSLv3 write certificate A} info sock11 accept loop {SSLv3 write certificate request A} info sock11 accept loop {SSLv3 flush data} info sock11 accept exit {SSLv3 read client certificate A} info sock11 accept exit {SSLv3 read client certificate A} |
From: Michael S. <sc...@un...> - 2005-02-11 14:24:48
|
Shawn Kielty wrote: > I was thinking it might be nice to have the local administrator user on > windows hosts (using native password authentication) -- or root -- on ~unix > hosts - be able to authenticate using the same password for the password > dialog for the server. > > At any rate I would like to be able to use a less transient verification > password for the authentication. Does anyone have any thoughts on this -- > or how best to accomplish it. > > This somewhat problematic for me as I have a long running server on a > windows platform -- with some debug output. I can't get back to the > password -- so I can't ever view the statistics page. Just an added note -- > In some environments -- it would be specifically forbidden to hardcode a > password into a script. > > Shawn > > Hi Shawn, you could try to use the tcllib LDAP package to do your Auth to external sources. Michael |
From: Shawn K. <sha...@ea...> - 2005-02-11 08:30:15
|
I was thinking it might be nice to have the local administrator user on windows hosts (using native password authentication) -- or root -- on ~unix hosts - be able to authenticate using the same password for the password dialog for the server. At any rate I would like to be able to use a less transient verification password for the authentication. Does anyone have any thoughts on this -- or how best to accomplish it. This somewhat problematic for me as I have a long running server on a windows platform -- with some debug output. I can't get back to the password -- so I can't ever view the statistics page. Just an added note -- In some environments -- it would be specifically forbidden to hardcode a password into a script. Shawn -----Original Message----- From: tcl...@li... [mailto:tcl...@li...]On Behalf Of tcl...@li... Sent: Tuesday, March 02, 2004 9:09 PM To: tcl...@li... Subject: TclHttpd-users digest, Vol 1 #451 - 2 msgs Send TclHttpd-users mailing list submissions to tcl...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/tclhttpd-users or, via email, send a message with subject or body 'help' to tcl...@li... You can reach the person managing the list at tcl...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of TclHttpd-users digest..." Today's Topics: 1. Registering TclSoap to tclhttpd (Alex Joyner) 2. Re: Registering TclSoap to tclhttpd (Brent Welch) --__--__-- Message: 1 Date: Mon, 01 Mar 2004 14:15:40 -0800 From: Alex Joyner <aj...@uc...> To: tcl...@li... Subject: [Tclhttpd-users] Registering TclSoap to tclhttpd Hello, I am trying to register TclSoap to tclhttpd, and keep on getting the error invalid command name "Url_PrefixInstall" This must be a problem with the SOAP-domain.tcl file, specifically the "register" method but I can't seem to get it to work with anything I try. Does anyone have any suggestions? Thanks! Alex Joyner UCSD Laboratory of Cognitive Imaging --__--__-- Message: 2 To: Alex Joyner <aj...@uc...> cc: tcl...@li... Subject: Re: [Tclhttpd-users] Registering TclSoap to tclhttpd From: Brent Welch <we...@pa...> Date: Mon, 01 Mar 2004 20:34:00 -0800 Alex - you'll need to join the mailing list, or fix up your subscription, because I had to allow this through. Also, I can't really tell what you mean by "register TclSoap to tclhttpd" so I don't know where this error comes from. Url_PrefixInstall is a core procedure inside tclhttpd. >>>Alex Joyner said: > Hello, > I am trying to register TclSoap to tclhttpd, and keep on getting the error > > invalid command name "Url_PrefixInstall" > > This must be a problem with the SOAP-domain.tcl file, specifically the > "register" method but I can't seem to get it to work with anything I try. > Does anyone have any suggestions? > Thanks! > Alex Joyner > UCSD Laboratory of Cognitive Imaging > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > -- Brent Welch Software Architect, Panasas Inc Delivering the premier storage system for scalable Linux clusters www.panasas.com we...@pa... --__--__-- _______________________________________________ TclHttpd-users mailing list Tcl...@li... https://lists.sourceforge.net/lists/listinfo/tclhttpd-users End of TclHttpd-users Digest |
From: Jeff R. <Jr...@on...> - 2005-01-10 13:10:33
|
Hello, I've noticed on version 3.5.1 and the CVS version that requests for missing templates no longer return a 404 status, they return a 200 status. The not found template is displayed properly, and the request is recorded on the status > not found page, but the logs indicate a 200 status. I'm seeing this issue on Solaris and Windows Server 2003/XP. Any idea why this is so? Thanks - W. Jeffrey Rankin Lead Web Application Developer O'NEIL & ASSOCIATES, INC. http://www.oneil.com 495 Byers Rd. Miamisburg, Ohio 45342-3662 Phone: (937) 865-0846 ext. 3504 Fax: (937) 865-5858 E-mail: jr...@on... Confidentiality Notice The information contained in this e-mail is confidential and intended for use only by the person(s) or organization listed in the address. If you have received this communication in error, please contact the sender at O'Neil & Associates, Inc., immediately. Any copying, dissemination, or distribution of this communication, other than by the intended recipient, is strictly prohibited. |
From: Nikos <ni...@ma...> - 2004-12-30 10:03:37
|
RJ Ent. wrote: > >Got the error Bad Request >while trying to obtain /cgi-bin/test.cgi. >couldn't execute >"/pathToLaunchLocation/tclhttpd3.5.1.kit/bin/../htdocs/cgi-bin/test.cgi": >not a directory > > Hi, Here I believe your cgi's are in the kit, so the filesystem does not know about vfs... >Got the error Bad Request >while trying to obtain /guestbook/guestbook.cgi. >couldn't execute >"/pathToLaunchLocation/tclhttpd3.5.1.vfs/htdocs/guestbook/guestbook.cgi": >permission denied > > Besides the fact of having executables under your document root, here I believe that you need to register the cgi directory with "Cgi_Directory url_directory physical_directory" Check execute permissions? >Could someone be so kind as to shed some light on what I am doing incorrect? > >Many thanks. > > Below is an old script we used to use when we could not avoid cgi's in the kit... proc cgikit::map_cgi {cgi_tmp_dir wrapped_dir} { #wrapped_dir is what is the cgi directory actually is # check to see if running as a starkit if {[info exists starkit::topdir]} { if {[info procs ::Httpd_Server] ne ""} { set cgi_source [file join $::Config(docRoot) $wrapped_dir] set cgi_dest [file join $::env(TMP) $cgi_tmp_dir] file copy $cgi_source $cgi_dest Cgi_Directory /$cgi_tmp_dir $cgi_dest set ::Httpd(starkit_cgi_dir) $cgi_dest #register callback on exit Httpd_RegisterShutdown cgikit::cgi_cleanup return "$wrapped_dir directory remapped to /$cgi_tmp_dir" } } } proc cgikit::cgi_cleanup {} { ###exiting tclhttpd via the SrvUI calls this proc ###What to do if exiting from shell, or Control-C??? if {[info exists starkit::topdir]} { if {[info procs ::Httpd_Server] ne ""} { eval file delete -force $::Httpd(starkit_cgi_dir) } } } So on startup of tclhttpd, we call map_cgi, and exit, cgi_cleanup... regards, nicolas boretos >---------- >RJEnt. - Linux Solutions & Consulting > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >TclHttpd-users mailing list >Tcl...@li... >https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > > |
From: RJ Ent. <rj...@rj...> - 2004-12-30 04:50:51
|
Greetings, I have been attempting to get a better grasp on the cgi capabilities on the tclhttpd but I seem to have troubles executing cgi scripts. I get the same results from both the .kit and the .vfs . Below is the feedback I get in the browser: Got the error Bad Request while trying to obtain /cgi-bin/test.cgi. couldn't execute "/pathToLaunchLocation/tclhttpd3.5.1.kit/bin/../htdocs/cgi-bin/test.cgi": not a directory Got the error Bad Request while trying to obtain /guestbook/guestbook.cgi. couldn't execute "/pathToLaunchLocation/tclhttpd3.5.1.vfs/htdocs/guestbook/guestbook.cgi": permission denied Could someone be so kind as to shed some light on what I am doing incorrect? Many thanks. ---------- RJEnt. - Linux Solutions & Consulting |
From: Jeff S. <hea...@ya...> - 2004-12-14 02:12:54
|
These maybe worth a look 1. Cisco's LocalDirector Product http://www.cisco.com/en/US/products/hw/contnetw/ps1894/products_configuration_guide_chapter09186a008007f4b5.html 2. Squid run in httpd-accelerator mode http://www.squid-cache.org/Doc/FAQ/FAQ-20.html Kind Regards Jeff Smith --- Steve Blinkhorn <st...@pr...> wrote: > > Does anyone have experience of, or pointers to > material relevant to, > load sharing amongst multiple instances of tclhttpd? > > I want to create a robust redundant group of > servers, probably > distributed across sites and IP address space (and > hence routes). > The ultimate would be for this to be transparent to > the user, so that, > for instance, www.mystuff.com in fact takes the user > to one of several > different (but functionally identical) sites, but is > not itself an > actual machine that could fail for any reason. I > do realise this is > probably asking for the moon, and I do know how > robust tclhttpd is in > practice. But customers (in suits) don't. > > A lot of what we do already (which uses our own thin > client rather > than a browser) implements a fall-through list of > servers, but I'm > wondering whether there is a way of presenting a > single server name to > a browser-based user without creating a single mode > of failure. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 |
From: Edesio C. e S. <ede...@ie...> - 2004-12-13 17:40:07
|
Maybe a simple DNS round robin? Server with multiples IP address. Intelligent browsers should take care of failed servers and try another IP. On Mon, Dec 13, 2004 at 04:57:47PM +0000, Steve Blinkhorn wrote: > > Does anyone have experience of, or pointers to material relevant to, > load sharing amongst multiple instances of tclhttpd? > > I want to create a robust redundant group of servers, probably > distributed across sites and IP address space (and hence routes). > The ultimate would be for this to be transparent to the user, so that, > for instance, www.mystuff.com in fact takes the user to one of several > different (but functionally identical) sites, but is not itself an > actual machine that could fail for any reason. I do realise this is > probably asking for the moon, and I do know how robust tclhttpd is in > practice. But customers (in suits) don't. > > A lot of what we do already (which uses our own thin client rather > than a browser) implements a fall-through list of servers, but I'm > wondering whether there is a way of presenting a single server name to > a browser-based user without creating a single mode of failure. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users -- Grief can take care of itself, but to get the full value of a joy you must have somebody to divide it with. -- Mark Twain |
From: Steve B. <st...@pr...> - 2004-12-13 16:58:13
|
Does anyone have experience of, or pointers to material relevant to, load sharing amongst multiple instances of tclhttpd? I want to create a robust redundant group of servers, probably distributed across sites and IP address space (and hence routes). The ultimate would be for this to be transparent to the user, so that, for instance, www.mystuff.com in fact takes the user to one of several different (but functionally identical) sites, but is not itself an actual machine that could fail for any reason. I do realise this is probably asking for the moon, and I do know how robust tclhttpd is in practice. But customers (in suits) don't. A lot of what we do already (which uses our own thin client rather than a browser) implements a fall-through list of servers, but I'm wondering whether there is a way of presenting a single server name to a browser-based user without creating a single mode of failure. |
From: Colin M. <co...@ch...> - 2004-12-11 12:40:08
|
Thanks Joris! Definitely a bug, sounds like you've fixed it. I've created http://sourceforge.net/tracker/index.php?func=detail&aid=1083423&group_id=12884&atid=112884 to track it, and will apply your patches to CVS. -- Colin McCormack <co...@ch...> |
From: Michael S. <sc...@un...> - 2004-12-11 09:38:48
|
Ricardo Jorge wrote: > Hi, > > I need to customize menus for customers, based on their "preffered > language" set in their browsers. > > To test I changed mypage.tcl ( included in TCLHTTPD package ) to > present a different header ( menu header ) for each customer using > env(LANG) variable, but it seems to take that info ( current language ) > from local machine. I mean, the one tclhttpd is running. > > The menus are beeing changed to the correct "local" language, so msgcat > implementation seems to be correct. > > I need a way to get (LANG) or whatever variable name, that shows the > language set at the remote browser, not local machine. > > What is the trick ? Did someone else achieve this feature ? Thanks > Try this little example: <html> [ Doc_Dynamic package require msgcat # set the locale set old [msgcat::mclocale] msgcat::mcset de "User set language preference" "Der Nutzer hat eine Sprachpräferenz gesetzt" array unset headers array set headers [Httpd_DumpHeaders [Httpd_CurrentSocket]] if {[info exists headers(accept-language)]} { set items [split $headers(accept-language) {,;}] set out "User languages<br>\n" set ll [list] set langs [list] foreach item $items { if {[string match "q=*" $item]} { set weight [string range $item 2 end] lappend langs [list $weight $ll] set ll [list] } else { lappend ll $item } } set langs [lsort -index 0 -real -decreasing $langs] append out "<table>" foreach row $langs { foreach {weight lang} $row { append out "<tr><td>$weight</td><td>$lang</td></tr>\n" } } append out "</table>" # if we want to use msgcat we have to convert the lang into a format useful for # msgcat and use msgcat::mclocale $lang to set it # this simply assumes the browser sends appropriate lang info set prefered [lindex $langs 0 1 0] set mcpref [string map {- _} $prefered] msgcat::mclocale $mcpref # now use msgcat::mc for outputting text append out "<h2>[msgcat::mc "User set language preference"] : $mcpref</h2>" } else { set out "User has set no language preference" } #reset the locale to the old setting msgcat::mclocale $old set out ] </html> Michael |
From: Michael T. <wa...@ko...> - 2004-12-10 15:52:21
|
Hi Ricardo, The http client should be setting a 'Accepted-Languages' header that contains a list of locale settings preferred by the client. Most clients only set one preferred locale, but the http specification allows a client to specify multiple locales, in order of preference. The web server can then iterate through these locales in order of preference to select the first one that is supported. --Mike On Fri, 2004-12-10 at 09:19, Ricardo Jorge wrote: > Hi, > > I need to customize menus for customers, based on their "prefered language" set in their browsers. > > To test I changed the code from mypage.tcl ( included in TCLHTTPD package ) to present a different header ( menu header ) for each customer using > env(LANG) variable, but it seems to take that info ( current language ) from local machine. I mean, the one tclhttpd is running. > > The menus are beeing changed to the correct "local" language, so msgcat implementation seems to be correct. > > I need a way to get (LANG) or whatever variable name, that shows the language set at the remote browser, not local machine. > > What is the trick ? Did someone else achieve this feature ? Thanks > > > Ricardo Jorge > > > > > > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > TclHttpd-users mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tclhttpd-users |
From: Ricardo J. <ric...@tr...> - 2004-12-10 14:19:49
|
Hi, I need to customize menus for customers, based on their "prefered language" set in their browsers. To test I changed the code from mypage.tcl ( included in TCLHTTPD package ) to present a different header ( menu header ) for each customer using env(LANG) variable, but it seems to take that info ( current language ) from local machine. I mean, the one tclhttpd is running. The menus are beeing changed to the correct "local" language, so msgcat implementation seems to be correct. I need a way to get (LANG) or whatever variable name, that shows the language set at the remote browser, not local machine. What is the trick ? Did someone else achieve this feature ? Thanks Ricardo Jorge |
From: Ricardo J. <ric...@tr...> - 2004-12-09 21:10:58
|
Hi, I need to customize menus for customers, based on their "preffered language" set in their browsers. To test I changed mypage.tcl ( included in TCLHTTPD package ) to present a different header ( menu header ) for each customer using env(LANG) variable, but it seems to take that info ( current language ) from local machine. I mean, the one tclhttpd is running. The menus are beeing changed to the correct "local" language, so msgcat implementation seems to be correct. I need a way to get (LANG) or whatever variable name, that shows the language set at the remote browser, not local machine. What is the trick ? Did someone else achieve this feature ? Thanks Ricardo Jorge |
From: Nikos <ni...@ma...> - 2004-11-30 11:53:42
|
Hello all, I am using some self-posting forms, eg: <form action="$page(url)" method="POST"> While the form initially comes up immediately, and correctly populated, I am noticing a substantial delay between form submission, and the next re-direct, ~7 seconds, while running the server locally. This is on WIN XP, and using the latest, starkit from beedub, and tclkit846 Actually, its slower running the app locally than on the network server running linux. Putting some indicators both at the top of the form, and at the bottom, just before some procs are executed, and then redirect, indicate that the delay is before the form is processed. e.g #Top of test.tml [Doc_Dynamic puts "begin form" ] form generation etc.. . . . [ puts "starting processing" blahh Doc_Redirect next.tml ] Running this, I get the expected strings after ~7 seconds, all together, along w/ the redirect.. Any light in the tunnel? regards, nicolas boretos P.S I saw that there were some old issues with POST on windows ages ago, but thought they were fixed in the current version... |
From: Nicolas B. <ni...@ma...> - 2004-11-23 06:55:41
|
Heravi, Mel M. wrote: >new to tclhttpd, and a long time user of "apache" i have few questions: > >i do not want to break apart my directory structure that i use under >apache. some clients want an out-of-the-box solution and that is a >strong reason for me to pay much attention to tclhttpd. > >my directory structure is as follows (under apache): > Top > cgi-bin > htdocs > images > other stuff... > > > This is a default tclhttpd setup, except the images dir... Here, Doc_AddRoot is your friend Doc_AddRoot c:/path_to_images /url_to_images >in apache: > ScriptAlias /bin/ /Top/cgi-bin/ > DocumentRoot /Top >etc. > > > Cgi_Directory "virtual directory" "physical_directory" could map additional dirs as executable (cgi) cgi dirs.. >i also access server folders through aliasing > Alias /MyDocs/ c:/here/there/ > > See above... hope this helps... regards, nicolas boretos >Question: > is it possible to maintain the same directory structure, and if so, >based on above example can you please educate me on the tclhttpd >directives to achive above. > >much oliged > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >TclHttpd-users mailing list >Tcl...@li... >https://lists.sourceforge.net/lists/listinfo/tclhttpd-users > > > > |