[Webware-discuss] Session invalidate

2001-07-17 Thread David O'Callaghan
elf._lastAccessTime = 0 self._values={} Or am I missing something big? Regards, David O'Callaghan -- "And that no man might buy or sell, save he that had the mark, or the name of the beast, or the number of his name."

[Webware-discuss] Remote Scripting with PSP

2001-07-10 Thread David O'Callaghan
systems on which to show it off. Would anyone be interested in taking me up on this? Regards, David O'Callaghan -- "And that no man might buy or sell, save he that had the mark, or the name of the beast, or the number of his name." --Mic

[Webware-discuss] PSP syntax file for Vim

2001-07-04 Thread David O'Callaghan
Hi, For any fellow Vim and PSP users, I've written a syntax file to do appropriate colour highlighting of code. It's available from http://matrix.netsoc.tcd.ie/~fortytwo/code/psp.vim David -- "And that no man might buy or sell, save he that had the mark, or the name of the beast, or the numbe

[Webware-discuss] gotcha (was: including common psp code)

2001-07-04 Thread David O'Callaghan
> What am I missing? Is this just because writeHTML itself is a mere method > and so I cannot treat its local variables as globals for the enclosed > functions? Grr! Argh! I got caught by the "Nested Functions Aren't Nested Scopes" gotcha. Apologies for lowering the signal-to-noise ratio so much

Re: [Webware-discuss] including common psp code

2001-07-04 Thread David O'Callaghan
to res. What am I missing? Is this just because writeHTML itself is a mere method and so I cannot treat its local variables as globals for the enclosed functions? David O'Callaghan ___ Webware-discuss mailing list [EMAIL PROTECTED] http://list

Re: [Webware-discuss] including common psp code

2001-07-04 Thread David O'Callaghan
OK, I'm including a psp file using the <%@include file="common.psp" %> syntax, and this code is contained therein: def trivialFunction(): res.write(dir(req.environ())) res.write(dir(req.environ())) trivialFunction() If I comment out the call to the function it works fine. If I

Re: [Webware-discuss] including common psp code

2001-07-03 Thread David O'Callaghan
eful to mix HTML and PSP in the > files that get included. Thanks for this! I should have RTFM'd properly in the first place. David O'Callaghan ___ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss

[Webware-discuss] Including common code in PSP pages

2001-07-03 Thread David O'Callaghan
py file it looks like it should be ok, and I can't really see why this doesn't work. Any suggestions? David O'Callaghan -- "And that no man might buy or sell, save he that had the mark, or the name of the beast, or the number of his name." --Microsof

Re: [Webware-discuss] Index Weirdness

2001-07-02 Thread David O'Callaghan
> > I can get the result I want with this patch to the > > handleDeficientDirectoryURL method of Application.py, but it adds an ugly > > scriptname to my URL... The upside is it doesn't seem to break the rest of > > Webware. > > > > 351c351,356 > > < uri[0] = uri[0] + '/' > > --- > > > if not

Re: [Webware-discuss] trying mod_webkit

2001-06-29 Thread David O'Callaghan
The AppServer will then be able to talk to Apache via mod_webkit. > > Open a browser and visit http://hostname/WK/ and you should see the WebWare > examples pages. > > Regards, > > David O'Callaghan ___ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss

Re: [Webware-discuss] trying mod_webkit

2001-06-29 Thread David O'Callaghan
happening under some Unix-like system. You need to restart Apache (do something like /etc/init.d/httpd) and you need to start the AppServer. You should cd into the WebKit directory and run ./AppServer The AppServer will then be able to talk to Apache via mod_webkit. Open a browser and visi

Re: [Webware-discuss] Index Weirdness

2001-06-28 Thread David O'Callaghan
ipt_name, '/')+1:] > I'd still be interested in a more elegant solution, and to find the cause of this problem. Regards, David O'Callaghan ___ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss

Re: [Webware-discuss] Index Weirdness

2001-06-28 Thread David O'Callaghan
> At 11:58 AM 6/28/2001 +0100, David O'Callaghan wrote: > >I can't seem to track down where slashes are being added... > > > >Any thoughts on this? > > Someone else reported this after Robin Dunn's MakeAppWorkDir mods, also > claiming that the p

[Webware-discuss] Index Weirdness

2001-06-28 Thread David O'Callaghan
Apache trying to work out these index URLs. They all gave the same problem. I can't seem to track down where slashes are being added... Any thoughts on this? Regards, David O'Callaghan -- "And that no man might buy or sell, save he that had the mark, or the name

Re: [Webware-discuss] ModSnakeAdapter patch

2001-06-26 Thread David O'Callaghan
> >Gah! I meant ModSnakeAdapter. I don't know why I typo'd that... > > Another question, are you using 0.5.1rc3 or are you using a CVS > checkout? I suspect that ModSnakeAdapter is broken in other ways in CVS > but I can't verify it because I use Windows, and mod_snake doesn't run on > Windows.

Re: [Webware-discuss] ModSnakeAdapter patch

2001-06-26 Thread David O'Callaghan
> Do you mean ModPythonAdapter or ModSnakeAdapter? You mentioned both. > > A similar fix has already been made in the CVS version of ModPythonAdapter, > but maybe ModSnakeAdapter hasn't been kept up to date. > Gah! I meant ModSnakeAdapter. I don't know why I typo'd that...

[Webware-discuss] ModSnakeAdapter patch

2001-06-26 Thread David O'Callaghan
]] = header[1] --- >req.headers_out[header[0]] = string.join(header[1:], ":") Regards, David O'Callaghan ___ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss

Re: [Webware-discuss] Error problems

2001-06-26 Thread David O'Callaghan
> At 01:06 PM 6/26/2001 +0100, David O'Callaghan wrote: > >Is this a known feature with mod_snake or does it sound more like a > >misconfiguration? > > I haven't heard of this problem before and don't use mod_snake myself. But > here are some things to st

Re: [Webware-discuss] Error problems

2001-06-26 Thread David O'Callaghan
ing shows up in either WebKit's access or error logs, or in Apache's > access > or error logs. > > Is this a known feature with mod_snake or does it sound more like a > misconfiguration? Gah! Ignore my blathering. After restarting the Appserve

[Webware-discuss] Error problems

2001-06-26 Thread David O'Callaghan
nake or does it sound more like a misconfiguration? Regards, David O'Callaghan ___ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss