Dear Terence

Using Apache2 with windows can be a bit tricky, but can be done:

1) make sure Python is installed properly, I used the one from
activestate.  If you can run python files simply by typing there name in a
command window then everything is fine s don't worry about it

2) Make sure webkit is installed, just run the install.py file, and edit
your application.conf file in the webkit/conf dir if you need to

3) either launch the appserver (using the included bat file) or run
ThreadedAppServerService.py to install it as a service.  If you do this
make sure the service is set to Automatic and that it is started

4) get the latest webkit_mod.dll from the cvs
(http://cvs.sourceforge.net/cgi-
bin/viewcvs.cgi/webware/Webware/WebKit/Adapters/mod_webkit2/)
and put it in your apache modules folder

5) (almost done) edit your apache conf file to read something like this
---------------------------------------------------------
LoadModule webkit_module modules/mod_webkit.dll

AddType text/psp .psp
AddHandler psp-handler .psp

<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>

Action py-serverpages /WK/
AddType py-serverpages .py
------------------------------------------------------------

6) Lastly make sure that msvcr70.dll is in your path, I copied mine to the
windows/system32 folder. (this has really caused alot of people trouble on
windows since MS is not putting this file in your path by default, and it
is needed by the mod_webkit.dll - someone please correct me if I am worng,
but it is needed emperically on my system to get things to work)

Now save everything, and restart apache and it should run.

Feel free to email me if you have any questions, I've set webware up using
apache2 on windows a few times now, it might take a while, but I think
you'll like it when you get it running

Jose




Message: 1
   Date: Fri, 20 Dec 2002 15:13:37 +0800 (CST)
   From: =?big5?q?Terence=20Ng?= <[EMAIL PROTECTED]>
   To: [EMAIL PROTECTED]
   Subject: [Webware-discuss] installation in Windows2000

   Hi!

   I am using Windows2000, Apache2.0, python2.2 with
   win32 extension.

   1) I don't know how to set python in my search path as
   defined in
   AUTOEXEC.BAT, since I don't need to add 'python'
   before the file name to run
   the file.  And I do not know where AUTOEXEC.BAT is
   located.

   2)I have run install.py contained in main directory,
   and copy OneShot.cgi to
   \Apache\cgi-bin (Is this correct?), and modify it.
   But the document said
   that "Do not launch the app server".  And I cannot see
   anything while trying
   http://localhost/OneShot.cgi.  What should I do?

   Terence


   _________________________________________________________
   Lonely Christmas(陳奕迅),風箏與風(Twins),笑中有淚(楊千嬅)...
   Over 800 latest ringtones, only on Yahoo!
   http://ringtone.yahoo.com.hk







-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to