Hello ,

i have a real problem with my apache 1.3.27 (downloaded today) under Windows 2000.
I can't get webware to process the incomming requests.

For ".py" files apache always wants to execute the file and
complaints because it can't find the "#!python" as the first line.
It seems that apache does not try to call the adapter program.

The error log entry is:

[Wed Jun 25 07:50:45 2003] [error] [client 127.0.0.1] 
z:/work/arachno/testsystem/sample_python/comkit/__init__.py is not executable; ensure 
interpreted scripts have "#!" first line
[Wed Jun 25 07:50:45 2003] [error] [client 127.0.0.1] (2)No such file or directory: 
couldn't spawn child process: 
z:/work/arachno/testsystem/sample_python/comkit/__init__.py

But it works for ".psp" files. So i guess it has something to do with
a default configuration.


Another unsolved problem is that when i use the "wkcgi.exe" adapter
instead of the "webkit.cgi" nothing works and i get the following error message:

[Wed Jun 25 07:44:27 2003] [error] [client 127.0.0.1] Invalid method in request i\xcc\b
[Wed Jun 25 07:44:27 2003] [error] [client 127.0.0.1] malformed header from script. 
Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: 
z:/work/arachno/testsystem/windows/python/binary/wkcgi.exe

Any ideas ?



My apache config is:
====================================
ServerName 127.0.0.1:6675
ServerTokens min
MaxClients 5
ThreadsPerChild 5
Options +ExecCGI +Includes +MultiViews
AddHandler server-parsed shtml
AddType text/html shtml
AddHandler cgi-script bat
Listen 127.0.0.1:6675
DocumentRoot "z:/work/arachno/testsystem/sample_python"
TransferLog z:/work/arachno/testsystem/windows/python/data/29/apache.alog
ErrorLog z:/work/arachno/testsystem/windows/python/data/29/apache.elog
PidFile z:/work/arachno/testsystem/windows/python/user/apache.pid
<Location / >
order deny,allow
allow from 127.0.0.1
deny from all
</Location>
Alias "d" "z:/work/arachno/testsystem/sample_python/Docs"
ScriptAlias /arachno-webware-gateway/ z:/work/arachno/testsystem/windows/python/binary/
AddType arachno-webware .py
AddHandler arachno-webware .py
AddType arachno-webware .psp
AddHandler arachno-webware .psp
Action arachno-webware /arachno-webware-gateway/wkcgi.exe
========================================



Best regards,
 Lothar                          mailto:[EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to