On Wednesday 28 November 2001 06:47 am, david harris wrote:
> finally getting round to messing with Webware about (18 months after
> first dowmloading it!) and I am getting the following error, after
> installing under SuSE 7.2 usiung apache 1.3.19, and when trying to
> access the test page at 'http://localhost/cgi-bin/WebKit.cgi' I get:
> Traceback (most recent call last):
> File "/usr/local/httpd/cgi-bin/WebKit.cgi", line 24, in ?
> import WebKit.CGIAdapter
> ImportError: No module named WebKit.CGIAdapter"
> I installed Webware in a non root home directory and ran
> install.py, so permissions should be right & I edited WebKit.cgi thus;
> WebwareDir ='/home/davidbh/apps/Webware'
> CGIAdapter is in the Webkit directory.
Looks like permissions; I have seen this exact error before. The user that
is running your CGI is most likely "nobody" who doesn't have permissions
to read your directory.
The installation script does NOT make your files readable by all and does
not know how you have your system set up regarding web servers, users and
You can fix it various ways including ranging from making the files
readable by all to matching up groups with group read permission to suexec.