Re: [Webware-discuss] Newbie question: can't install webware

2003-01-19 Thread Aaron Held
First of all you need to make sure that you have mod_python installed. Secondly I would recommend that you start w/ WebKit.exe Download - http://webware.sourceforge.net/MiscDownloads/ForCVS/Windows.zip and put it into cgi-bin Once you can access Webware via http://localhost:/cgi-bin/WebKit.exe/Co

Re: [Webware-discuss] Newbie question: can't install webware

2003-01-18 Thread Ian Bicking
Hmmm... a Windows person can help you better, but might want to try the WebKit.exe adapter in Webware/WebKit/Adapters/, i.e., use "Action mypy /python/WebKit.exe". And you could take out the AddHandler statements and try to access it directly through /python/WebKit.exe/Colors.py Also of course, b

Re: [Webware-discuss] Newbie Question

2002-12-02 Thread Terrel Shumway
On Sat, 2002-11-30 at 21:32, POWERATOR wrote: > Hi, > > If I am using web hosting services to host my web site, and the web > hosting company is using RedHat Linux, Apache and support Python. > Could I use Webware to manage contents, embedded PSP to HTML, etc? > Could I install Webware scripts

Re: [Webware-discuss] Newbie Question

2002-11-30 Thread Ian Bicking
Unfortunately Webware is difficult to use in this situation. Webware uses a program (the AppServer) that stays running over many requests. While it is possible using OneShot.cgi to run Webware without having the AppServer up all the time, it is extremely slow. Most hosts don't allow long running

RE: [Webware-discuss] Newbie question

2002-11-27 Thread Ben Parker
This is a problem related to your implementation of Myobject, or a problem in your testing of their values after instantiation. Webware does not change the basic language structure of python in any way. It's a bit off-topic, but if you post your code for "Myobject" then I, and I'm sure others, wil

Re: [Webware-discuss] newbie question

2002-08-21 Thread Keith Jackson
Tim Roberts wrote: > I apologize if this seems obvious. > > The *args syntax you showed was introduced in Python 2.0. Thus, it really > looks like you are not running the version you think you are. > > It's worth double-checking. Yes it was.:) Even though I'd checked that as the first thing I

Re: [Webware-discuss] newbie question

2002-08-21 Thread Tim Roberts
On Tue, 20 Aug 2002 19:51:35 -0700, Keith Jackson <[EMAIL PROTECTED]> wrote: > >I'm using python 2.2.1, and a CVS check out of webware from this morning. I apologize if this seems obvious. The *args syntax you showed was introduced in Python 2.0. Thus, it really looks like you are not running

Re: [Webware-discuss] newbie question

2002-08-20 Thread Stefan Schwarzer
Hello Keith On Tue, 20 Aug 2002, Keith Jackson wrote: > Traceback (innermost last): >File "Launch.py", line 59, in ? >File "Launch.py", line 55, in main >File "Launch.py", line 30, in launchWebKit >File "", line 1, in ? >File "WebKit/ThreadedAppServer.py", line 19, in ? >

Re: [Webware-discuss] newbie question

2002-08-20 Thread Keith Jackson
Yes, I did. Tavis Rudd wrote: > Did you run the installation script before the launch script? > > On August 20, 2002 07:51 pm, Keith Jackson wrote: > >>I'm using python 2.2.1, and a CVS check out of webware from this morning. >> >>Ian Bicking wrote: >> >>>What version of Python are you using?

Re: [Webware-discuss] newbie question

2002-08-20 Thread Tavis Rudd
Did you run the installation script before the launch script? On August 20, 2002 07:51 pm, Keith Jackson wrote: > I'm using python 2.2.1, and a CVS check out of webware from this morning. > > Ian Bicking wrote: > > What version of Python are you using? At this point, a number of Python > > 2.x t

Re: [Webware-discuss] newbie question

2002-08-20 Thread Keith Jackson
I'm using python 2.2.1, and a CVS check out of webware from this morning. Ian Bicking wrote: > What version of Python are you using? At this point, a number of Python > 2.x things have been introduced -- Webware is informally becoming > incompatible with 1.5.2. > > On Tue, 2002-08-20 at 21:39,

Re: [Webware-discuss] newbie question

2002-08-20 Thread Ian Bicking
What version of Python are you using? At this point, a number of Python 2.x things have been introduced -- Webware is informally becoming incompatible with 1.5.2. On Tue, 2002-08-20 at 21:39, Keith Jackson wrote: > Oops, should have been one more line to the log file. > --keith > > > > Traceb

Re: [Webware-discuss] newbie question

2002-08-20 Thread Keith Jackson
Oops, should have been one more line to the log file. --keith Traceback (innermost last): File "Launch.py", line 59, in ? File "Launch.py", line 55, in main File "Launch.py", line 30, in launchWebKit File "", line 1, in ? File "WebKit/ThreadedAppServer.py", line 19, in ? fro

Re: [Webware-discuss] Newbie question

2002-04-11 Thread Ian Bicking
On Thu, 2002-04-11 at 01:29, Skorobeus wrote: > Hello all, > > Recently started working with WebKit, loving it so far... > > Just have a few questions, mostly form related: > > If I have a form that should be accepting a login and password, how do I handle >defining where that information goes

Re: [Webware-discuss] Newbie question

2001-12-14 Thread Stephan Diehl
The following webpage should answer your question. http://webware.colorstudy.net/twiki/bin/view/Webware/ModRewriteRecipes Hope this helps Stephan On Friday 14 December 2001 11:15, you wrote: > I'm a real newbie at WebWare, and have a simple question on > webware+apache+webkit module I hope you

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Jeff Johnson
> >IIRC, expires will also accept "NOW" to delete and "NEVER" for > >permanent. Setting a past date should also delete the cookie but I > >think "NOW" is what the standard calls for. > > I just tried "NEVER" but it didn't work for me on IE 5.5. > Are you sure > this isn't a feature that only

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
"The expires header lets the client know when it is safe to purge the mapping but the client is not required to do so. A client may also delete a cookie before it's expiration date arrives if the number of cookies exceeds its internal limits." This is from http://home.netscape.com/newsref/std/

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
At 10:40 AM 12/6/01 -0500, Jeff Johnson wrote: > > I've never tried that, but I believe that you just write a > > new session w/ the same name and no value or expiration - this should > > convert it to a blank session cookie. > >IIRC, expires will also accept "NOW" to delete and "NEVER" for >perma

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
At 10:45 AM 12/6/01 -0500, Aaron Held wrote: >Where is the setExpiration method? >Is this part of the new cookie stuff being worked on? > >I am still using webware 6.0a1 > >-Aaron It's in Webware 0.6 final. -- - Geoff Talvola [EMAIL PROTECTED] __

RE: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Jeff Johnson
> I've never tried that, but I believe that you just write a > new session w/ the same name and no value or expiration - this should > convert it to a blank session cookie. IIRC, expires will also accept "NOW" to delete and "NEVER" for permanent. Setting a past date should also delete the cooki

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Aaron Held
> Sent: Thursday, December 06, 2001 10:14 AM Subject: Re: [Webware-discuss] newbie question on cookies > At 12:36 AM 12/6/01 +0100, markus jais wrote: > >hello > >thanks, this explains the behavior > > > >is there a way to make it last for a specified amount of tim

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Aaron Held
From: "Costas Malamas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 06, 2001 3:34 PM Subject: Re: [Webware-discuss] newbie question on cookies > Excellent, thanks! Now, for the inverse question: How can you delete a > per

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Costas Malamas
Geoffrey Talvola <[EMAIL PROTECTED]> >To: markus jais <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >Subject: Re: [Webware-discuss] newbie question on cookies >Date: Thu, 06 Dec 2001 10:14:19 -0500 > >At 12:36 AM 12/6/01 +0100, markus jais wrote: >>hello >>thanks, th

Re: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Costas Malamas
uot;Costas Malamas" <[EMAIL PROTECTED]>, ><[EMAIL PROTECTED]> >Subject: Re: [Webware-discuss] newbie question on cookies (Another one!) >Date: Thu, 6 Dec 2001 09:34:40 -0500 > >The cookies are being handled by a few classes in the WebUtils component of >webware. &g

RE: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Jeff Johnson
> # The _getdate() routine is used to set the expiration time in > # the cookie's HTTP header. By default, _getdate() returns the > # current time in the appropriate "expires" format for a > # Set-Cookie header. The one optional argument is an offset from > # now, in seconds. For exa

Re: [Webware-discuss] newbie question on cookies

2001-12-06 Thread Geoffrey Talvola
At 12:36 AM 12/6/01 +0100, markus jais wrote: >hello >thanks, this explains the behavior > >is there a way to make it last for a specified amount of time. >for example, with Perl's CGI.pm I can specify a string like "+2M", >which means, that the cookie should stay on disk for 2 month > >I did not

Re: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Aaron Held
.Cookie.SimpleCookie() >>> C["name"]='aaron' >>> C["name"]["Expires"]=300 >>> C Set-Cookie: name=aaron; expires=Thu, 06-Dec-2001 14:33:5 -Aaron - Original Message - From: "Costas Malamas" <[EMAIL PROTE

RE: [Webware-discuss] newbie question on cookies (Another one!)

2001-12-06 Thread Costas Malamas
e it's my first post here, thanks for Webware! Costas -- FROM: markus jaisDATE: 12/05/2001 15:36:33 SUBJECT: RE: [Webware-discuss] newbie question on cookies hello thanks, this explains the behavior is there a way to make it last for a specified amount of time. for example, with Perl&

Re: [Webware-discuss] newbie question on cookies

2001-12-05 Thread markus jais
hello thanks, this explains the behavior is there a way to make it last for a specified amount of time. for example, with Perl's CGI.pm I can specify a string like "+2M", which means, that the cookie should stay on disk for 2 month I did not find anything like this in the sources. markus On

Re: [Webware-discuss] newbie question on cookies

2001-12-05 Thread Aaron Held
by default it should be a session cookie, which only lives for the duration of the browser session, they are not written to disk -Aaron - Original Message - From: "markus jais" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 5:16 PM Subject: [Webware-discu

Re: [Webware-discuss] newbie question

2001-10-24 Thread Chuck Esterbrook
At 11:18 PM 10/24/2001 +0200, markus jais wrote: >hello > >I changed the permissions of the webware directory and the underlying >directories like "WebKit" all to 755 and also all *py files within these >directories. > >apache runs as user "apache". I am using RedHat 7.1 > >it still does not work!

Re: [Webware-discuss] newbie question

2001-10-24 Thread markus jais
hello I changed the permissions of the webware directory and the underlying directories like "WebKit" all to 755 and also all *py files within these directories. apache runs as user "apache". I am using RedHat 7.1 it still does not work! any other hints?? markus On Wednesday 24 October 200

Re: [Webware-discuss] newbie question

2001-10-24 Thread Chuck Esterbrook
At 10:46 PM 10/24/2001 +0200, markus jais wrote: >but WebwareDir = '/home/markus/software/devel/python/webware/Webware' >is set to the correct directory. > >the appserver says the following when starting. it looks quite ok for me: >can anybody help me?? I am really interessted in webware. looks ve

Re: [Webware-discuss] newbie question

2001-10-24 Thread Geoff Talvola
At 10:46 PM 10/24/01 +0200, markus jais wrote: >hello >I have just downloaded Webware-0.6a1 >I installed everything according to the docs >and now I got the following error when >accessing http://localhost/cgi-bin/WebKit.cgi > >ERROR > >Traceback (innermost last): > File "/var/www/cgi-bin/WebK