Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 12298 invoked from network); 20 May 2008 16:42:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 16:42:22 -0000 Received: (qmail 24470 invoked by uid 500); 20 May 2008 16:42:23 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 24444 invoked by uid 500); 20 May 2008 16:42:23 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 24166 invoked by uid 99); 20 May 2008 16:42:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 09:42:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of terry@net-frame.com designates 65.212.180.92 as permitted sender) Received: from [65.212.180.92] (HELO pyramid-03.kattare.com) (65.212.180.92) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 16:41:33 +0000 Received: from [192.168.15.102] (c-98-243-60-245.hsd1.mi.comcast.net [98.243.60.245]) (authenticated bits=0) by pyramid-03.kattare.com (8.13.8/8.13.6) with ESMTP id m4KGfk0S009850 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 20 May 2008 09:41:47 -0700 Subject: Re: IE Editing Glitch From: Terry Steichen To: jspwiki-dev@incubator.apache.org In-Reply-To: <1211248448.4447.448.camel@netframe> References: <1211214533.4447.390.camel@netframe> <15cc92000805191034i3dee3f5vcd55322fe997429@mail.gmail.com> <1211223160.4447.408.camel@netframe> <15cc92000805191242h124bf60fr15df342dd5f97895@mail.gmail.com> <2159E6EF-60E7-49E7-B59F-87FBFE6215E9@ecyrd.com> <1211248448.4447.448.camel@netframe> Content-Type: multipart/alternative; boundary="=-eCKHQkXoaElRWP4bSayC" Date: Tue, 20 May 2008 12:41:39 -0400 Message-Id: <1211301699.4447.508.camel@netframe> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) X-Virus-Checked: Checked by ClamAV on apache.org --=-eCKHQkXoaElRWP4bSayC Content-Type: text/plain Content-Transfer-Encoding: 7bit The problem is now a bit more clear. 1) when my browser is running on one machine and JSPWiki is running on a DIFFERENT machine (using a non-default port - 8080), exiting the editor (via 'Save' or 'Cancel') causes my browser (either Firefox or IE) to get a page not found fault, because the browser tries to change the url from "http://remote_address/app_name/Wiki.jsp?page=xx" to "http://localhost/app_name,Wiki.jsp?page=xx" 2) when my browser is running on the SAME machine as is hosting JSPWiki (my normal set up), this redirection works fine in Firefox. However, IE doesn't (for some reason) respond to "localhost"; rather I have to use something like "127.0.0..1" to get it to work right in the first place. When it is redirected to "localhost" it refuses. 3) When the application is running on a host that is accessed via the default port 80 (as with a hosting service), everything seems to work the way it should (for both Firefox and IE). This suggests that the non-default port number might be getting lost somewhere in JSPWiki. The baseURL I'm using is http://192.168.15.103:8080/TC4 (TC4 is the application name.) Not sure where to go from here. Maybe someone who's more familiar with the way that baseURL works could give some suggestions. PS: I did a bit of tracing of the HTML interactions using TCPTunnel. The header-related output of that debugging is (and note the 302 declaration - Moved Temporarily - in the last server response): ====================================================================== Browser request to load page in editor: ====================================================================== GET /TC4/Edit.jsp?page=Small HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20071126 Fedora/1.5.0.12-7.fc6 Firefox/1.5.0.12 pango-text Accept: text/xml,application/xml,application/xhtml +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost/TC4/Wiki.jsp?page=Small Cookie: JSPWikiAssertedName=Terry+Steichen; JSPWikiUserPrefs=%7B %22PrevQuery%22%3A%22%22%7D; JSESSIONID=717E8D634E2B8F2F579149899244C429 If-Modified-Since: Tue, 20 May 2008 15:36:38 GMT POST /TC4/JSON-RPC HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20071126 Fedora/1.5.0.12-7.fc6 Firefox/1.5.0.12 pango-text Accept: text/xml,application/xml,application/xhtml +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Content-Type: text/plain Content-Length: 55 Cookie: JSPWikiAssertedName=Terry+Steichen; JSPWikiUserPrefs=%7B %22PrevQuery%22%3A%22%22%7D; JSESSIONID=717E8D634E2B8F2F579149899244C429 Pragma: no-cache Cache-Control: no-cache {"id": 1, "method": "system.listMethods", "params": []}POST /TC4/Edit.jsp?page=Small HTTP/1.1 ====================================================================== Server response to editor request: ============================================================================= HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Cache-control: max-age=0 Expires: Tue, 20 May 2008 15:40:57 GMT Last-Modified: Tue, 20 May 2008 15:40:57 GMT Content-Type: text/html;charset=UTF-8 Transfer-Encoding: chunked Date: Tue, 20 May 2008 15:40:57 GMT 2000 ====================================================================== Browser request to cancel in editor: ================================================================================= Host: localhost User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20071126 Fedora/1.5.0.12-7.fc6 Firefox/1.5.0.12 pango-text Accept: text/xml,application/xml,application/xhtml +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost/TC4/Edit.jsp?page=Small Cookie: JSPWikiAssertedName=Terry+Steichen; JSPWikiUserPrefs=%7B %22PrevQuery%22%3A%22%22%7D; JSESSIONID=717E8D634E2B8F2F579149899244C429 Content-Type: application/x-www-form-urlencoded Content-Length: 144 page=Small&action=save&encodingcheck=%E3%81% 81&cllcjd=1212066831392&cancel=Cancel&_editedtext=Small+is +beautiful.%0D%0A&submit_auth=&changenote= ====================================================================== Server response to editor 'cancel' request: ================================================================================== HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/plain;charset=utf-8 Content-Length: 112 Date: Tue, 20 May 2008 15:40:57 GMT {"result":["search.getSuggestions","progressTracker.getProgress","users.getUserInfo","search.findPages"],"id":1}HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Cache-control: max-age=0 Expires: Tue, 20 May 2008 15:41:13 GMT Last-Modified: Tue, 20 May 2008 15:41:13 GMT Location: http://localhost:8080/TC4/Wiki.jsp?page=Small Content-Type: text/html;charset=UTF-8 Content-Length: 0 Date: Tue, 20 May 2008 15:41:13 GMT --=-eCKHQkXoaElRWP4bSayC--