Last night I tried to get the WebKit working on my RedHat 6.2 installation. Normally I don't have any problems with installing developers software, but this, I really could not figure out.
I've got the file WebKit.cgi in my cgi directory of Apache. Notice, when I execute ./WebKit.cgi from the shell, NO ERROR OCCURS, but when I use my webbrowser and go to http://localhost/cgi-bin/WebKit.cgi this error occurs:
Traceback (innermost last) :
line 30, in ?
ImportError: No module named CGIAdapter.
It seems to me that the sys.path is not correctly used when the WebKit.cgi is started from the Apache webserver.
That my only conclusion, because I inserted the correct path by hand in the sys.path variable in the WebKit.cgi, but it still doesn't work.
Anyone any idea's?
Rene Olsthoorn, The Netherlands.
Sign-up for your own FREE Personalized E-mail at Mail.com
Have you downloaded the latest calling software from Net2Phone? Click here to get it now!
At 03:58 PM 10/23/2001 +0800, R. Olsth. wrote:
>Anyone any idea's?
Did you set the WebwareDir variable at the top of the script? What did you
set it to? Can you copy and paste that after "ls" at the command prompt and
see the directory?
Get latest updates about Open Source Projects, Conferences and News.