> Are you using the CGI adaptor?
Yes, I use the CGI adaptor.
> > Anyone used WebWare & thttpd ? Must I try to fix the code to be
> > thttpd-compatible ?
> Are there specific features that crash the app, or is it a universal
> issue? Please send more specific examples of what's happening. Also,
> what platform are you using? (NetBSD 1.6/2.0/... ?)
I tested it on FreeBSD 5.3 and NetBSD 2.0 (and some month before I
tested on 1.6). If I remember well I tested on OpenBSD 3.4 too and got
the same problem. I think it's thttpd specific and not OS :P
I must type exact URL, examples:
but not http://localhost:9090/cgi-bin/wkcgi.cgi/
(I get The document has moved to .//.)
which leads into
The document has moved to ./Testing/.
here is a dump of the environment I get on a test computer with thttpd +
11 2005-02-17 06:26:34 /cgi-bin/wkcgi.cgi/Testing//Testing
HTTP_USER_AGENT => Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5)
HTTP_COOKIE => _SID_=20050217045805-0a98fbca48d973983ce71ce3448d3ded;
SERVER_NAME => asus.localzone.fr
GATEWAY_INTERFACE => CGI/1.1
HTTP_ACCEPT_LANGUAGE => en-us,en;q=0.5
REMOTE_ADDR => 127.0.0.1
SERVER_SOFTWARE => thttpd/2.25b 29dec2003
SCRIPT_NAME => /cgi-bin/wkcgi.cgi/Testing/
REQUEST_METHOD => GET
HTTP_HOST => localhost
PATH_INFO => /Testing
SERVER_PORT => 9090
SERVER_PROTOCOL => HTTP/1.1
PATH => /usr/local/bin:/usr/ucb:/bin:/usr/bin
HTTP_ACCEPT_ENCODING => gzip,deflate
CGI_PATTERN => **.cgi
PATH_TRANSLATED => /tmp/ww/wwwroot/Testing
11 0.01 secs /cgi-bin/wkcgi.cgi/Testing//Testing
I don't know if it can help...
I tried to modify the code like this (HTTPRequest.py, line 75):
if not self._environ.has_key('PATH_INFO'):
self._environ['PATH_INFO'] = '/'
if self._environ['SCRIPT_NAME'][-1] == '/' and
self._environ['PATH_INFO'][-1] != '/':
self._environ['PATH_INFO'] += '/'
I can get the starting urls but I get errors in the testing page (urls
I hope it will enlight you ;)