> 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: http://localhost/cgi-bin/wkcgi.cgi/index and http://localhost/cgi-bin/wkcgi.cgi/Testing/Main are ok. but not http://localhost:9090/cgi-bin/wkcgi.cgi/ (I get The document has moved to .//.) or even http://localhost:9090/cgi-bin/wkcgi.cgi/Testing/ which leads into The document has moved to ./Testing/. here is a dump of the environment I get on a test computer with thttpd + webware: 11 2005-02-17 06:26:34 /cgi-bin/wkcgi.cgi/Testing//Testing HTTP_ACCEPT => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_USER_AGENT => Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041220 Firefox/1.0 HTTP_COOKIE => _SID_=20050217045805-0a98fbca48d973983ce71ce3448d3ded; TestCookieName=CookieValue 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.has_key('SCRIPT_NAME'): 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 aren't ok) I hope it will enlight you ;) Fabien Devaux. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss