Now that I am back in the office I wanted to post to the list my solution just in case another newbie like me read this thread. The problem, BTW, was found between the chair and keyboard...

First, I want to say thank you to Gary and Clifford for the thoughtful replies. I checked the paths and assignments as you mention. Those were correct. The problem was user/group permissions.

I had set up the system in the office and copied it from the desktop machine to a laptop. The problems began when I attempted to configure the laptop. In the original attempt I had run the install and MakeAppWorkDir as a normal user. This did not agree with owner of the Apache installation on MacOS X. I was a bit surprised that the user/group settings on the laptop were different than those on the desktop machine, but then again I have never paid attention to these matters before.

The solution, and there may be others, was to re-install Webware using "sudo" so the ownership is in agreement with os settings. Then used "chown" and "chmod" to set the file permissions, and everything fell into place.

So, some trudging up the learning curve for chown, chmod and sudo solved the problem.

Happy days,

 - Mark Phillips

On Aug 8, 2004, at 9:16 AM, Gary Perez wrote:

Sounds like there's got to be a path problem somewhere.

Looking at the code in my /Library/WebServer/CGI-Executables/WebKit.cgi, I can tell it's the module generating the error.

Did you create a WebKit runtime directory or are you running the AppServer straight out of the install directory? This will make a difference. If you didn't do the runtime directory part, I'd give that a shot, and make sure to replace the current WebKit.cgi file (the one generating your error) with the WebKit.cgi file that's created for you inside this runtime directory. It's preconfigured; I've never had to tweak WebKit.cgi to get it to work... when using the runtime directory.

If you're already on the runtime dir. track... try re-copying the WebKit.cgi inside it to your Executables directory. You may have copied over the wrong .cgi file. Failing that... make sure the strings at the top of WebKit.cgi starting with:

WebwareDir =
AppWorkDir =

... point to the right places. It looks like it's basically trying to add those directories to the pythonpath, so make sure whatever system user you're running AppServer as has the proper permissions to open directories (+x) and at least read their contents.

Hope you find this helpful.
-Gary

On Aug 7, 2004, at 11:18 PM, [EMAIL PROTECTED] wrote:

I have installed Webware 0.8.1 on MacOS X 10.3.4 on a laptop. The AppServer
launches with normal startup messages. When I attempt to load the admin page
using the URL "localhost/cgi-bin/WebKit.cgi", I get this error message:
"I can't find the file
/Users/markphillips/Documents/Webware/WebKit/Adapters/CGIAdapter.py"


I have checked paths and they are correct. I ran the "chmod -R a+rwX Cache
ErrorMsgs Logs Sessions" on the WebKit directory. I can review the permissions
and they appear correct.


What have I overlooked?

======== end ========



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to