Hi folks! first of all let me tell you that i really appreciate your work! Webware seems to be an fascinating platform. I really like to use it for a project but i have severe troubles getting it to work. I scanned the discussion list and could not find a solution to my problem. I try to run Webware 0.5 on WinNT (yeah i know i should use an OS... :) ) together with the free and fast Omnicron Omnihttpd Web Server (http://www.omnicron.ab.ca/httpd/). I am using Python 2.0 [#8 Oct 16 2000] from Pythonlabs. The file extensions ".py", ".pyw" and ".cgi" are corrrectly associated with the python interpreter so the web server knows what to do. The environment path variable includes a path to the python interpreter and I am logged in as Administrator. There should be no permission problems and the Webserver and everything works fine for normal python cgi-files! My web root directory is "d:\localweb" and my CGI directory is "d:\localweb\cgi". I extracted the Webware-zip into d:\localweb\Webware an ran the install.py script. the script ran without errors. When I started the AppServer (appserver.bat) out of the box I got an error telling me that "there is no module Tasks". I changed "from Tasks import SessionTask" to "import SessionTask" In "Application.py" and copied the file "SessionTask.py" from "WebKit\Tasks\" to "Webkit\" directory. After that the app server started without problems... Furthermore I get the following error messages when I try to run OneShot.cgi by calling http://localhost/cgi/OneShot.cgi : ---------------------------------------------------------------------------- --- 404 Not found: /cgi/OneShot.cgi/cgi/OneShot.cgi? ---------------------------------------------------------------------------- ---- The path seems to be somehow appended to itself. When I use the URL http://localhost/cgi/OneShot.cgi/MyPage as mentioned in the documentation all i get is: ---------------------------------------------------------------------------- - 404 Not found: /cgi/OneShot.cgi/MyPage/cgi/OneShot.cgi/Mypage? ---------------------------------------------------------------------------- ---- There are no python exceptions. The cgi is found and being excuted. I checked this in the web server logs. The error message must be regular python output somewhere within a "try"-clause. I've tried to debug the code but lost trace somewhere in OneShotAdapter.py... :( It is the same for WebKit.cgi, with the according file name of course. "ASyncThreadedHTTPServer" is the only thing that runs fine (very nice preview!) but I get the same error (in DOS-window) that David Harris has mentioned in this discussion list http://www.geocrawler.com/archives/3/3854/2000/10/0/4459322/ when I try to view the source code of the examples. Moreover I get the "error" template page within the broswer telling me that there is another module missing (py2html). Again py2html is there but the import statement seems to be wrong. I did not try to fix it. I suppose that there could be something wrong with my web server settings. Do I need a special link? Where do I deploy my Servlets relative to the Webware\WebKit path and my web server root directory? Where does the adapter / app server look for my Servlets or PSPs ? I'm rather new to app servers and webware documentation is not that clear to me in that point. Could you outline how my files should be distributed on the web server (physically as well as logically)? Is the following file hierarchy alright? d:\localweb --> web server physical root directory (maps to "/" logically) d:\localweb\cgi --> web server physcial cgi directory (maps to /cgi logically) d:\localweb\cgi\OneShot.cgi --> OneShot-Adapter .cgi file d:\localweb\Webware\ --> Webware directory d:\localweb\Webware\WebKit --> Webware\WebKit directory I think I've tried all different possibilities to put the OneShot.cgi / WebKit.cgi and played around with the few web server settings but nothing really worked... Sorry for this somewhat longish mail. You see I'm a bit lost. Help is really appreciated !! thanks in advance... boris, June 25th 2001, Frankfurt Germany _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/webware-discuss
