All,
I am on a virtual server that redirects CGI scripts,
the company is http://nexpoint.org. Upon installing the
latest Webware beta on my new site, I found that WebKit
would not work properly. I always received 404 errors for
page not found.
After gnashing of teeth, wailing, debugging, etc. etc.
I found that HTTPRequest's urlPath() method returned an
incorrect value, that is it returned what the virtual site
host redirected rather than what WebKit was expecting.
I found a cheap and dirty fix for this. I changed
urlPath in order to cut out the redirect. My version of
HTTPRequest's urlPath method now begins:
self._absolutepath = 0
if self._environ.has_key('REDIRECT_URL'):
self._environ['PATH_INFO'] = self._environ['PATH_INFO'][19:]
This is a dirty fix as my redirect starts with 19 characters,
composed of "/cgi-bin/server.cgi" where I rename OneShot.cgi or
WebKit.cgi to server.cgi as needed. Although this works for me
it would be better if a generic solution can be found.
Randy Phillips
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss