From: Jonathan Wight <JWight@bi...> - 2000-07-17 04:00:43
Just found webware while research the best way to write a photo management
web app. Looks really exciting.
Couple of questions concerning it:
Is mod_python used by webware at all yet? If not will it?
In what way are psp pages integrated into apache?
Look forward to working with webware.
At 11:00 PM 7/16/00 -0500, Jonathan Wight wrote:
>Couple of questions concerning it:
> Is mod_python used by webware at all yet? If not will it?
Someone contributed a mod_python adapter for webware. In case you don't
know, an adapter is our name for the little piece of software that connects
the web server and the app server. We also have a "one shot" adapter than
runs your application in "CGI mode".
You can find the mod_python adapter in the archives for this list. Or you
can wait--it will get integrated into the source within the next couple of
weeks. Probably sooner than your app will be finished if you haven't
started it yet (I'm guessing).
> In what way are psp pages integrated into apache?
PSP pages become WebKit servlets. WebKit servlets run in the WebKit app
server which can either be resident, in which case you get caching and high
performance, or it can be invoked with each request, in which performance
is like CGI.
The WebKit app server gets invoked by the adapter which is typically a CGI
or FastCGI script. My URLs currently look something like this:
and then as I'm browsing pages:
I believe with the mod_python adapter and some apache configuration, you
can get rid of the "server.cgi/".
Note the lack of extensions in filenames. WebKit figures out if you have a
.py, .psp or whatever. You can even create your own handlers if you have
custom files that deserve special treatment.
Hope that helps,
From: Jonathan Wight <JWight@bi...> - 2000-07-17 06:16:03
Failing to get webware up and running... Running on Linux on PowerPC, and
Moved Webware to /usr/local/Webware
Made symlinks of WebKit.cgi and address.text in /usr/local/apache/cgi-bin/
Chmod-ed the relevent files to allow them to be executed.
Launched AppServer.py and everything is great so far...
In my local public_html directory I created a symlink of
Webware/WebKit/Examples (so I'd have something to play with).
Browse to the WebKit examples directory and click any of the links and I get
an apache 'Internal Server Error'.
If I check my apache error logs I see that:
[error] (8)Exec format error: exec of
[error] [client 192.168.1.128] Premature end of script headers:
The AppServer.py session is fine and no errors are being reported directly
to the console. Also the WebKit/Logs and WebKit/ErrorMsgs directory remain
Any one got any clues what I'm doing wrong?
I have a sneaking suspicion that the address.text file is incorrect. It just
contains this text ":8086". No IP address for the server. But changing it to
"192.168.1.1" doesn't fix the problem
From: Jonathan Wight <JWight@bi...> - 2000-07-17 08:04:50
on 7/17/00 1:15 AM, Jonathan Wight at JWight@... wrote:
> Failing to get webware up and running... Running on Linux on PowerPC, and
> Apache 1.3.12...
Okay the trouble I was having is that I symlink-ed the Example directory and
put it into my public_html directory. I should have just directly connected
to the cgi.
Works perfectly now.
Get latest updates about Open Source Projects, Conferences and News.