RE: [Webware-discuss] still getting 404's

2003-06-26 Thread Ian
At 10:33 PM 6/26/2003, you wrote: Well if you're not getting an error when the context is loading (when you run the appserver it should tell you if all the contexts load correctly) then sorry I seem to be out of suggestions. Hopefully someone with more experience then me will pick up the thread. I

RE: [Webware-discuss] still getting 404's

2003-06-26 Thread jose
Well if you're not getting an error when the context is loading (when you run the appserver it should tell you if all the contexts load correctly) then sorry I seem to be out of suggestions. Hopefully someone with more experience then me will pick up the thread. I'm not sure about the MakeAppWork

RE: [Webware-discuss] still getting 404's

2003-06-26 Thread Ian
i tried what you suggested. I added a line: '~merk':'/disk/u/merk/public_html' to the application.config file under the context setting. I also tried adding '/~merk' and '/~merk/' with no success. I thought the MakeAppWorkingDir script was supposed to do all this anyhow? Is there any way i can s

RE: [Webware-discuss] still getting 404's

2003-06-26 Thread jose
Think of a webkit context as an apache alias.  The context is the "location" that is used by webkit to access the folders on your computer.  For example ~merk is an apache context which maps to some physical location on your computer.  What you need to do is edit the application.conf file such that

Re: [Webware-discuss] PSP vs. Webkit

2003-06-26 Thread Ian Bicking
On Thu, 2003-06-26 at 14:28, Aaron Held wrote: > The same differences between a java servlet runner and JSP. > > Webkit is a servlet runner. It takes python applications and spins them > in RAM until they are called upon byt your browser. > > PSP is a templating language that embeds Python into

RE: [Webware-discuss] still getting 404's

2003-06-26 Thread Ian
What exactly is a context? There is an __init__.py file in the MyContext directory. Here is all the info displayed when i run the appserver. And just to clear up the directory structure a bit: ~merk/public_html is the directory i'm trying to work out of now. Apache sees it fine as the index.ht

Re: [Webware-discuss] PSP vs. Webkit

2003-06-26 Thread Aaron Held
The same differences between a java servlet runner and JSP. Webkit is a servlet runner. It takes python applications and spins them in RAM until they are called upon byt your browser. PSP is a templating language that embeds Python into HTML. You can use PSP with Webkit, you can also use Webki

RE: [Webware-discuss] webware returning 404 error

2003-06-26 Thread Geoffrey Talvola
Ian wrote: > I have apache 2.0 running. Installed webware .8 with mod_webkit. > > I made a public_html directory in my home directory to test this on. > (if it matters, apache2.0 is running on port 8081). > > When i browse to ~user/ in the browser, the index.html page comes up > correctly. > >

RE: [Webware-discuss] about fileupload

2003-06-26 Thread Geoffrey Talvola
zg hu wrote: > my system is on windows xp+apache 1.3.27+webware 0.8 > when i used fileupload within webware examples, > it showed error messages: > > C:\down\Webware\WebKit\Examples\FileUpload.pyTraceback (most recent > call last): File ".\WebKit\Application.py", line 415, in > dispatchRequest >

RE: [Webware-discuss] still getting 404's

2003-06-26 Thread jose
Just to be sure could you check your application.conf file to see what contexts are actualy listed, also when you run athe appserver from the command line it displays all sorts of startup info, is the ~merk context loading correctly? If it is not, make sure that you have a __init__.py file in it (a

[Webware-discuss] about fileupload

2003-06-26 Thread zg hu
my system is on windows xp+apache 1.3.27+webware 0.8 when i used fileupload within webware examples, it showed error messages: C:\down\Webware\WebKit\Examples\FileUpload.pyTraceback (most recent call last): File ".\WebKit\Application.py", line 415, in dispatchRequest self.handleGoodURL(trans

[Webware-discuss] still getting 404's

2003-06-26 Thread Ian
I ran the MakeAppWorkDir.py file and it did its thing. I then ran the Appserver script in that directory and the app server started up. However, every time i try to call a psp page in that directory, the appserver comes back with 404. its not apache's 404 error message but the appserver's 404

[Webware-discuss] appserver hangs on creating 10 threads and/or shutting down

2003-06-26 Thread Ian
having an intermittent problem. Starting the appserver it seems to hang sometimes on creating threads: Listening on ('127.0.0.1', 8086) Creating 10 threads..Shutdown Called Thu Jun 26 03:51:29 2003 WARNING: No server reference to shutdown. Ready (93.48 seconds after launch) The shutdown

Re: [Webware-discuss] Webware caches objects way too much

2003-06-26 Thread deelan
Gary Perez wrote: Don't know about windows or apache2, but maybe use the OneShot.cgi adapter. It's slower, but loads/runs/shutsdown the appserver every hit. No caching issues. Once satisfied, use the mod_webkit module. Hope this helps. thanks to all who replied. i tried autoreload and seems to