Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 6998 invoked from network); 6 Nov 2007 21:38:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2007 21:38:14 -0000 Received: (qmail 52582 invoked by uid 500); 6 Nov 2007 21:38:01 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 52569 invoked by uid 500); 6 Nov 2007 21:38:01 -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 52477 invoked by uid 99); 6 Nov 2007 21:38:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 13:38:01 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2007 21:38:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D282A71422C for ; Tue, 6 Nov 2007 13:37:50 -0800 (PST) Message-ID: <32598998.1194385070860.JavaMail.jira@brutus> Date: Tue, 6 Nov 2007 13:37:50 -0800 (PST) From: "Janne Jalkanen (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-22) ShortURLConstructor broken In-Reply-To: <5863752.1194294950585.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-22?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540581 ]=20 Janne Jalkanen commented on JSPWIKI-22: --------------------------------------- Nope. Cannot do it lazily. We need it before any GET requests to set up e= .g. RSS generation (which creates a static file for performance reasons). It used to be a fix for those who needed it (e.g. people with stunnel), but= since then it's turned out to be too useful. It's theoretically possible = to rip it out, but I wouldn't start doing it now... We would need to change= our entire URL generation schemes, RSS generation, and probably many, many= other things as well. What I mean my proxy is that the host name may change. Or to be more proba= ble, the port in which the app is running may be different. For example, w= ith basic forwarding the servlet container might think it's running in port= 8080, but the outside world sees it in port 80. The context path would th= erefore be wrong. This is typical in quite a few apache setups which for s= ome reason or another are not using mod_jk or mod_proxy. > ShortURLConstructor broken > -------------------------- > > Key: JSPWIKI-22 > URL: https://issues.apache.org/jira/browse/JSPWIKI-22 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage > Affects Versions: 2.6.0 > Environment: apache-tomcat-6.0.14, java 6, XP > Reporter: J=C3=BCrgen Weber > Priority: Blocker > Fix For: 2.6.0 > > > Downloaded 2.5.149, unpacked with core pages, ran, fine. > Changed jspwiki.urlConstructor to ShortURLConstructor. > Now, navigation is broken: there is one wike element in the URL too much,= also it seems the css cannot be found. > http://localhost:8080/JSPWiki/wiki/wiki/OneMinuteWiki --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.