(I'm just getting started w/ Webware and am not yet on this list.  Please cc
me on any replies.)

I just installed Webware on my laptop and linked to the CGIWrapper directory
from my server's home directory:

    cd /usr/local/apache/htdocs/localhost
    ln -s ~/src/Webware/CGIWrapper pycgi

I then added the necessary magic to my Apache config file to get access to
the stuff I installed:

     Options ExecCGI FollowSymLinks
     AddHandler cgi-script .cgi

Then I tried the Hello URL mentioned in the docs:

    http://localhost/pycgi/server.cgi/Hello

and was rewarded with a traceback:

    Traceback (most recent call last):
      File "/usr/local/apache/htdocs/localhost/pycgi/CGIWrapper.py", line 540, in main
        wrapper.serve()
      File "/usr/local/apache/htdocs/localhost/pycgi/CGIWrapper.py", line 391, in serve
        os.chdir(os.path.split(self._scriptPathname)[0])
    OSError: [Errno 2] No such file or directory: 
'/usr/local/apache/htdocs/localhost/pycgi/Scripts'

There is a Hello.py in CGIWrapper/Examples.  Where do I change from
"Scripts" to "Examples" (besides renaming Examples to Scripts of course)?

Thx,

-- 
Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/)

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to