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,
-- 
Ian Bicking <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to