First of all you need to make sure that you have mod_python installed.
Secondly I would recommend that you start w/ WebKit.exe
Download -
http://webware.sourceforge.net/MiscDownloads/ForCVS/Windows.zip
and put it into cgi-bin

Once you can access Webware via http://localhost:/cgi-bin/WebKit.exe/Context/Servlet
Then we can move on to Apache config.

-Aaron

Ian Bicking wrote:

Hmmm... a Windows person can help you better, but might want to try the
WebKit.exe adapter in Webware/WebKit/Adapters/, i.e., use "Action mypy
/python/WebKit.exe".

And you could take out the AddHandler statements and try to access it
directly through /python/WebKit.exe/Colors.py

Also of course, be sure you're running the AppServer.

On Sat, 2003-01-18 at 16:21, Lothar Scholz wrote:

Hello,

i have the problem that i don't know how to setup my apache config
file to communicate with the application server via CGI.

I'm on windows with Apache 1.3 and a fresh CVS checkout of Webware.

The Appserver seems to run quite well. Installing and
Configuring (the very little bit that is necessary) was
described very well but i couldn't find a word about
apache configuration.

Apache is in "z:/apache"
Webware is installed in directory "z:/apache/Webware"
My Document Root is in "z:/apache/docs"

Installing PHP like:

----------------------
ScriptAlias /php4/ "Z:/apache/"
AddHandler my-php4 php
Action my-php4 "/php4/php.exe"
----------------------

was okay, so i tried the same with the WebKit Adapter

-----------------------
ScriptAlias /python/ "Z:/apache/Webware/WebKit/Adapters"
AddHandler mypy py
AddHandler mypy psp
Action mypy "/python/WebKit.cgi"
-----------------------

Then i copied the ExamplePage.py from the WebKit/Examples directory
into my document directory to test the installation.

Then i changed one line in the the Webkit/Configs/Application.config file
---------------------------------------------
'Contexts': {
'Admin': '%(WebKitPath)s/Admin',
'Examples': '%(WebKitPath)s/Examples',
'Docs': 'z:/apache/docs',
'Testing': '%(WebKitPath)s/Testing',
'default': '%(WebKitPath)s/Examples', ##MAWD
},
------------------------------------------

Now a request to http://localhost:666/ExamplePage.py
results in a 404 with the message

"The requested URL /python/WebKit.cgi/ExamplePage.py was not found on
this server."

I also get 404 errors on the default examples like
http://localhost:666/Examples/Colors.py


Where did i made my mistake ??


Thank you very much in advance,



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to