Get wkcgi.exe (see link from Ian Bicking below) and put it in a
directory where you have script access and them make some changes to
your apache.conf file.  These are the additions that I had to make to my
conf file to make it run: 

(BTW my setup is winXP pro, python 2.2.1, and apache 2.0.40)

ScriptAlias /webkit/ "C:/Program Files/Apache Group/Apache2/webkit/"

<Directory "C:/Program Files/Apache Group/Apache2/webkit">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

Redirect /webware http://localhost/webkit/wkcgi.exe/Examples

Action py-serverpages /webkit/wkcgi.exe/

AddHandler py-serverpages .psp .py


Hope this helps.

Jose



Message: 13
Subject: RE: [Webware-discuss] Win2000 / Python 2.2.2 / WebKit.cgi /
Apache2.0.43
Date: Tue, 29 Oct 2002 09:19:51 -0500
From: "Ian Sparks" <[EMAIL PROTECTED]>
To: "Webware-Discuss \"(E-mail)" <[EMAIL PROTECTED]>


Ian,

Thanks. wkcgi.exe works for me but only after I installed Mark Hammonds
=
Win32all and restarted my appserver.

My setup is now :

Win2000
Apache 1.3
wkcgi.exe
Python 2.2.2
Win32all

I may try to reinstall Apache 2.0.43 and try wkcgi on that too.

I also made some other discoveries :

* It seems that Apache DOES process the !#python "shebang path" but I =
couldn't get this to work without explicitly doing :
!#C:/Python22/Python.exe

* Modules changed in Apache 2.X, mod_webkit.dll will need recompiling to
=
work on 2.X (if it hasn't been).

- Ian Sparks.

-----Original Message-----
From: Ian Bicking [mailto:ianb@;colorstudy.com]
Sent: Tuesday, October 29, 2002 4:38 AM
To: Ian Sparks
Cc: Webware-Discuss "(E-mail)
Subject: Re: [Webware-discuss] Win2000 / Python 2.2.2 / WebKit.cgi /
Apache2.0.43


What does the end of you error.log (from Apache) look like?  You might
want to try wkcgi.exe from:
  http://webware.sourceforge.net/MiscDownloads/ForCVS/Windows/
I'm not sure if the #! stuff works right on Windows, but wkcgi.exe
should.

On Mon, 2002-10-28 at 13:24, Ian Sparks wrote:
> I'm trying to set up Webware with the following configuration :
>=20
> Win2000
> Python 2.2.2 in C:\Python22
> Apache 2.0.43  =20
> WebWare 0.7 rooted in C:\Webware
>=20
> Perhaps someone can help out. The WebKit install docs arn't *that* =
helpful here.
>=20
> Lets see :
>=20
> C:\>python
>=20
> gets me a python prompt.
> WebWare has been install.py 'ed
> I have appserver.bat 'ed and the appserver is running OK on 8086.
>=20
> The problem appears to be with apache / WebKit.cgi integration.
>=20
> http://localhost/cgi-bin/WebKit.cgi/  gets me a 500 internal server =
error.
>=20
> The start of my WebKit.cgi looks like :
>=20
> #!python
> WebwareDir =3D 'C:\Webware\'
> AppWorkDir =3D None
>=20
> I feel like the docs are missing a step that ties a .cgi extension to
=
a .py extension but renaming WebKit.cgi to WebKit.py doesn't help.
>=20
> Any advice?
>=20
> - Ian Sparks.
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> =20
>=20
>=20
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss




--__--__--

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss


End of Webware-discuss Digest





-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to