Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-26 Thread Christoph Zwerschke
Matt Feifarek wrote: > Contexts['default'] = Contexts['sp'] > > Assuming that Contexts was a dictionary, I assigned the value of 'default' > to the value of 'sp'. In the example config from a clean workdir, it looks > more like this: > > Contexts['default'] = 'sp' Hm, I tested this and looked at

Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-26 Thread Matt Feifarek
On 10/26/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > > One thing you should do is create a new working directory with > makeAppWorDir. If you start an empty working directory, you should get > the Example and Test contexts. Does this work? Then copy your servlets > to that new working dire

Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-26 Thread Christoph Zwerschke
Hi Matt, the latest mod_webkit should also work with older Webware versions. But anyway, you should update and get 0.9.4 running with Apache. One thing you should do is create a new working directory with makeAppWorDir. If you start an empty working directory, you should get the Example and Te

Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-26 Thread Matt Feifarek
On 10/26/07, Matt Feifarek <[EMAIL PROTECTED]> wrote: > > I'm finding some weird url-mapping errors... but I'm trying to use an old > version of Webware with the newer version of mod_webkit... I'm using v > 0.9.0. I'm reluctant to try and upgrade Webware, as my apps are pretty old > and may break.

Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-25 Thread Matt Feifarek
On 10/25/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > > mod_webkit definitly works on 64bit boxes. Seems you're using a very old > version that doesn't cope with Apache 2.2. > You're right! Thanks. I'm finding some weird url-mapping errors... but I'm trying to use an old version of Webwa

Re: [Webware-discuss] mod_webkit on apache2 on x86_64

2007-10-25 Thread Christoph Zwerschke
Matt Feifarek wrote: > Can anyone get this to compile? > In the past, I just moved over a good module from another system, but > now I'm on a 64bit box. > > Here's what I get: > ... > mod_webkit.c:217: warning: passing argument 4 of 'apr_socket_create' makes > integer from pointer without a cast

Re: [Webware-discuss] mod_webkit on fedora c5 x86_64

2006-04-02 Thread Sam Nilsson
Christoph Zwerschke wrote: Ben Parker wrote: Christoph Zwerschke wrote: I'd like to know why APR_MAJOR_VERSION was not set. Actually it should be set in apr_version.h which is included by mod_webkit.c. APR_MAJOR VERSION is indeed set in apr_version.h, but that is not included by the version

Re: [Webware-discuss] mod_webkit on fedora c5 x86_64

2006-04-01 Thread Christoph Zwerschke
Ben Parker wrote: Christoph Zwerschke wrote: I'd like to know why APR_MAJOR_VERSION was not set. Actually it should be set in apr_version.h which is included by mod_webkit.c. APR_MAJOR VERSION is indeed set in apr_version.h, but that is not included by the version of mod_webkit2/mod_webkit.c

Re: [Webware-discuss] mod_webkit on fedora c5 x86_64

2006-04-01 Thread Ben Parker
Christoph Zwerschke wrote on 03/31/2006 11:09 PM: bob smith wrote: I had the same error with OSX 10.3 and Apache 2.2.0. The fix was to add the fourth parameter required by deleting lines 214 & 216: if ((rv = apr_socket_create(&aprsock, AF_INET, SOCK_STREAM, #if (APR_MAJOR_VERSION > 0)

Re: [Webware-discuss] mod_webkit on fedora c5 x86_64

2006-03-31 Thread Christoph Zwerschke
bob smith wrote: I had the same error with OSX 10.3 and Apache 2.2.0. The fix was to add the fourth parameter required by deleting lines 214 & 216: if ((rv = apr_socket_create(&aprsock, AF_INET, SOCK_STREAM, #if (APR_MAJOR_VERSION > 0) APR_PROTO_TCP, #endif I'd like to know why

Re: [Webware-discuss] mod_webkit and file type mapping

2004-05-20 Thread deelan
Ian Bicking wrote: i tried with this vhost conf but probably i missed something, since it stille requires the http://host/wk/ prefix: DocumentRoot D:/vhosts/zyz ServerName xyz Action py-serverpages /wk/ AddType py-serverpages .py WKServer localhost 8086 SetHand

Re: [Webware-discuss] mod_webkit and file type mapping

2004-05-19 Thread Ian Bicking
deelan wrote: ''This also works:'' Action py-serverpages /WK/ AddType py-serverpages .py ''Which will run Python servlets from any location.'' could be someone shed some light on that Action/AddType combo? from the webware docs it seems possible to map a .py file extension to the mod_webkit handl

RE: [Webware-discuss] mod_webkit compile problems

2004-05-06 Thread Robert Theiss
David, This did the trick. It works fine now. Thanks for the help. Much Appreciated. Bob --- "Hancock, David (DHANCOCK)" <[EMAIL PROTECTED]> wrote: > I'm not running Red Hat 9.0, but it's "modern" > enough that maybe it runs > Apache 2.0 by default. If so, you probably want to > compile mo

RE: [Webware-discuss] mod_webkit compile problems

2004-04-11 Thread Hancock, David (DHANCOCK)
I'm not running Red Hat 9.0, but it's "modern" enough that maybe it runs Apache 2.0 by default. If so, you probably want to compile mod_webkit2 instead of mod_webkit. Caveat: This advice could also be completely wrong--I use Red Hat 8.x and Apache 1.3.x. Cheers! -- David Hancock | [EMAIL PROTECT

RE: [Webware-discuss] Mod_webkit

2004-03-16 Thread Paul Boddie
"Lawrence Oluyede" <[EMAIL PROTECTED]> wrote: > > Mulugeta Maru wrote: > > Mod_webkit requires you to use Apache and usually to have root > > access to the computer - I do have Apache but what exactly does > > "root access to the computer" mean. Your response is very much > > appreciated. > > it me

Re: [Webware-discuss] Mod_webkit

2004-03-14 Thread Mulugeta Maru
Many thaks to all of you who took the time to respond. - Original Message - From: "Lawrence Oluyede" <[EMAIL PROTECTED]> To: "Mulugeta Maru" <[EMAIL PROTECTED]> Cc: "Webware" <[EMAIL PROTECTED]> Sent: Sunday, March 14, 2004 12:58 PM Subjec

Re: [Webware-discuss] Mod_webkit

2004-03-14 Thread Pawel J Maczewski
On Sun, Mar 14, 2004 at 01:30:13PM -0600, Mulugeta Maru wrote: > >I an new to webware. I would appreciate if someone can help answer >this question on how to install mod_webkit. >In the Webkit Install Guide what does the following mean: >Mod_webkit requires you to use Apache and us

Re: [Webware-discuss] Mod_webkit

2004-03-14 Thread Lawrence Oluyede
Mulugeta Maru wrote: Mod_webkit requires you to use Apache and usually to have root access to the computer - I do have Apache but what exactly does "root access to the computer" mean. Your response is very much appreciated. it means having the root account password, so you could install the libr

RE: [Webware-discuss] mod_webkit cannot connect using 'localhost'; invokes IPv6

2004-01-05 Thread Nick Ragouzis
IPv6, prefer IPv4 (NR-Nick Ragouzis) */ X /* X * Now fill in the defaults. If there are any `parent' configuration SHAR_EOF : || $echo 'restore of' 'patch1' 'failed' fi $echo $shar_n 'x -' 'lock directory' "\`_sh2936

Re: [Webware-discuss] Mod_webkit

2002-12-12 Thread Michael Engelhart
Is this an Apache 2.x feature or can this work with 1.3.x servers. Man - eliminating the headache of mod_rewrite would be great for newbies getting started if all you have to do is add an Action line... Miike On Thursday, December 12, 2002, at 11:29 AM, <[EMAIL PROTECTED]> wrote: True, anyt

RE: [Webware-discuss] Mod_webkit

2002-12-12 Thread jose
True, anything under /WK/ does run fine. I added the action line so that I could eliminate /WK/ from my URL for example now http://localhost/index.py works as well. Jose Original Message Subject: RE: [Webware-discuss] Mod_webkit From: "Love, Jay" <[EM

RE: [Webware-discuss] Mod_webkit

2002-12-12 Thread Love, Jay
That should work fine. But I'm surprised you need to add the Action line to serve anything from /WK. You shouldn't need that, everything requested under /WK/ should go to the AppServer. Jay -Original Message- From: jose [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 2:52

RE: [Webware-discuss] mod_webkit adapter broken for self.includeURL?

2002-04-12 Thread Geoffrey Talvola
Is this only broken for PSP files? Or does it also break if you try it in a regular servlet? Also, you might want to try self.forward() and self.callMethodOfServlet() and see if those are also broken for you too. Their internal implementation is very similar to includeURL(). I'm using both of

Re: [Webware-discuss] mod_webkit make problems...

2002-03-22 Thread Jason Hildebrand
On Fri, 2002-03-22 at 10:56, Tracy S. Ruggles wrote: > Hi all, I'm not very familiar with apxs but I thought I'd see if > anyone here has had this problem in making the mod_webkit module. > Here's what I get when I try to run 'make': > >ol0401.vwh.net% make >/usr/local/bin/apxs -o mod_

Re: [Webware-discuss] mod_webkit problem

2001-11-14 Thread Rod Zvorygin
Hi, Stefan, >> I have Webware 0.6b2 (Win2000 SP2, Apache 1.3+mod_webkit): > That's because you try to access the Webware application server > directly in the first approach. Instead you have to request the > servlets from the web server which will make them available to the > application server.

Re: [Webware-discuss] mod_webkit problem

2001-11-14 Thread Rod Zvorygin
Hi, Stefan, >> I have Webware 0.6b2 (Win2000 SP2, Apache 1.3+mod_webkit): > That's because you try to access the Webware application server > directly in the first approach. Instead you have to request the > servlets from the web server which will make them available to the > application server.

Re: [Webware-discuss] mod_webkit problem

2001-11-14 Thread Stefan Schwarzer
Hello Rod On Wed, 14 Nov 2001, Rod Zvorygin wrote: > I have Webware 0.6b2 (Win2000 SP2, Apache 1.3+mod_webkit): > 1) When I start AppServer.bat I see: > ... > Listening on ('127.0.0.1', 8086) > Creating 10 threads > Ready >But when I start IE6 and type http://localhost:8086/ I

Re: [Webware-discuss] mod_webkit and new releases?

2001-10-03 Thread Chuck Esterbrook
At 04:06 PM 10/2/2001 -0500, Kendall Clark wrote: >Folks, > >I'm rebuilding my (remote) server kit, while it's live, serving pages, >including MySQL and Apache. I do this very infrequently, otherwise >it's hard to get these 250 day uptimes. > >I'm ready to start moving off PHP and to Webware, for

Re: [Webware-discuss] mod_webkit, take 3

2001-06-03 Thread Jay Love
Ahhh, nice one Tavis! We need to add that to the docs. Jay Tavis Rudd wrote: > This should do it: > RewriteRule ^/(.*) /webkit/$1 > > On Saturday 02 June 2001 22:39, Mike Orr wrote: > >> On Sat, Jun 02, 2001 at 07:32:23PM -0700, Tavis Rudd wrote: >> ** Trying to get the home page th

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Tavis Rudd
This should do it: RewriteRule ^/(.*) /webkit/$1 On Saturday 02 June 2001 22:39, Mike Orr wrote: > On Sat, Jun 02, 2001 at 07:32:23PM -0700, Tavis Rudd wrote: > > > ** Trying to get the home page the most natural way, > > > http://webware.iron.cx/ , returns an Apache directory > > > listing. It

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Mike Orr
On Sat, Jun 02, 2001 at 07:32:23PM -0700, Tavis Rudd wrote: > > > ** Trying to get the home page the most natural way, > > http://webware.iron.cx/ , returns an Apache directory > > listing. It doesn't matter whether mod_webkit is inside > > or not. > > You need to use mod_rewrite to do this bit

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Mike Orr
On Sat, Jun 02, 2001 at 08:22:28PM -0700, Tavis Rudd wrote: > Of course you can set a handler for the entire site. That's what > you were doing orginally. The reason that didn't work and > the reason why you have to use the tag has > nothing to do with Apache. It's WebKit that requires this,

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Tavis Rudd
Of course you can set a handler for the entire site. That's what you were doing orginally. The reason that didn't work and the reason why you have to use the tag has nothing to do with Apache. It's WebKit that requires this, as it needs the servlet path to be sent from the webserver as the

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Tavis Rudd
> ** Trying to get the home page the most natural way, > http://webware.iron.cx/ , returns an Apache directory > listing. It doesn't matter whether mod_webkit is inside > or not. However, all the other ways of > calling it work: > http://webware.iron.cx/index.py > http://webware.iron.cx/I/index.

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Mike Orr
On Sat, Jun 02, 2001 at 11:14:49AM -0700, Tavis Rudd wrote: > like Chuck said you have to use the > tag. Is this an, um, limitation of Apache? On the face of it, it appears the *only* purpose of is to prevent directives from applying outside a certain directory. However, one page of the Apac

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Mike Orr
On Sat, Jun 02, 2001 at 09:29:57AM -0400, Chuck Esterbrook wrote: > ** What happens if you use a Location rather than a virtual host? > > > WKServer localhost 8086 > SetHandler webkit-handler > > > http://locahost/webkit > http://locahost/webkit/Examples That works. > ** At the top of Applic

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Tavis Rudd
Mike, like Chuck said you have to use the tag. So you apache setup should be exactly like this: LoadModule webkit_module /usr/lib/apache/1.3/mod_webkit.so AddModule mod_webkit.c ServerName webware.iron.cx DocumentRoot /home/iron/www/iron.cx/real-d

Re: [Webware-discuss] mod_webkit, take 3

2001-06-02 Thread Chuck Esterbrook
** What happens if you use a Location rather than a virtual host? WKServer localhost 8086 SetHandler webkit-handler http://locahost/webkit http://locahost/webkit/Examples ** At the top of Application.py serverSideInfoForRequest() put: global debug debug = 1 This might tell