Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 12280 invoked from network); 2 Oct 2010 06:07:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Oct 2010 06:07:43 -0000 Received: (qmail 42223 invoked by uid 500); 2 Oct 2010 06:07:43 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 41866 invoked by uid 500); 2 Oct 2010 06:07:39 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 41855 invoked by uid 99); 2 Oct 2010 06:07:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 06:07:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [74.50.50.211] (HELO optomus.com) (74.50.50.211) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Oct 2010 06:07:32 +0000 Received: from webmail.optomus.com (localhost [127.0.0.1]) by optomus.com (Postfix) with ESMTP id 6F54A60B79 for ; Sat, 2 Oct 2010 19:06:59 +1300 (NZDT) Received: from 119.224.14.112 (SquirrelMail authenticated user christopher) by webmail.optomus.com with HTTP; Sat, 2 Oct 2010 19:06:59 +1300 (NZDT) Message-ID: <71a7d3aed13f2f02ddcc9152495c5345.squirrel@webmail.optomus.com> In-Reply-To: References: <5fb7583534a5bb909acc6819e536ab87.squirrel@webmail.optomus.com> <04cf25d9e739dd2b21723e7feea187e0.squirrel@webmail.optomus.com> <8ee852891400326dbbbc3558676aa1d4.squirrel@webmail.optomus.com> Date: Sat, 2 Oct 2010 19:06:59 +1300 (NZDT) Subject: Re: Roller 5.0 - multiple domain URLs From: "Christopher Dodunski" To: user@roller.apache.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Hi Dave, I added a element to server.xml, which I understand has the effect of giving Roller ROOT context. Then restarted Tomcat. Now, when you browse to http://www.optomus.com:8080, Roller presents the default frontpage blog (optomus). Unfortunately, the original problem persists. It puzzles me that you have successfully implemented multi-domains. Are you happy to share with me relevant sections of your configuration files, in case the problem is with my configuration? Otherwise, I guess it's time to look at the source code. For this to be fruitful, though, I need to gain a clearer understanding of what exactly is wrong with the URLs inside the HTML pages served (all URLs copied below). Regards, Chris. > It is possible that the multi-domain feature only works when Roller is > installed in the root context (i.e. '/' rather than '/roller'). If > possible could you try installing Roller at root instead of '/roller'? > > One way to do this is to put Roller in webapps/ROOT instead of > webapps/roller but there are other ways. > > - Dave > > > > On Fri, Oct 1, 2010 at 9:25 PM, Christopher Dodunski > wrote: >> Hi Dave, >> >> By "Absolute URL mode" I simply mean that I added the following >> directive >> to roller-custom.properties and restarted Tomcat. >> >> � �weblog.absoluteurl.christopher=http://blog.christopher.net.nz >> >> I've made no changes in relation to this on my admin page. >> >> Regards, >> >> Chris. >> >> >>> What does "absolute URL mode" and "standard URL mode" mean? Is that >>> Apache HTTPD rewrite terminology? >>> >>> Do you have the "absolute URL to site" set in Roller's Server Admin >>> page? >>> >>> - Dave >>> >>> >>> On Fri, Oct 1, 2010 at 9:01 PM, Christopher Dodunski >>> wrote: >>>> Hi, >>>> >>>> I don't know whether this is of interest, but I've extracted all URLs >>>> from >>>> the HTML when running successfully in 'standard mode', and done the >>>> same >>>> when running unsuccessfully in 'absolute URL mode'. >>>> >>>> **Standard Mode: http://www.optomus.com:8080/roller/christopher/** >>>> >>>> /roller/roller-ui/yui/reset-fonts-grids/reset-fonts-grids.css >>>> /roller/roller-ui/yui/base/base-min.css >>>> http://www.optomus.com:8080/roller/christopher/page/style.css >>>> http://www.optomus.com:8080/roller/christopher/rsd >>>> http://www.optomus.com:8080/roller/christopher/feed/entries/atom >>>> http://www.optomus.com:8080/roller/christopher/feed/entries/rss >>>> http://www.optomus.com:8080/roller/christopher/feed/comments/atom >>>> http://www.optomus.com:8080/roller/christopher/feed/comments/rss >>>> http://www.optomus.com:8080/roller/roller-services/opensearch/christopher >>>> http://www.optomus.com:8080/roller/christopher/page/custom.css >>>> http://www.optomus.com:8080/roller/christopher/ >>>> /roller/ >>>> http://www.optomus.com:8080/roller/christopher/ >>>> http://www.optomus.com:8080/roller/christopher/page/archives >>>> /roller/roller-ui/login-redirect.rol >>>> /roller/christopher/search >>>> http://www.optomus.com:8080/roller/christopher/feed/entries/atom >>>> http://www.optomus.com:8080/roller/christopher/resource/icons/feed-icon-28x28.png >>>> http://www.optomus.com:8080/roller/christopher/feed/entries/atom >>>> http://www.optomus.com:8080/roller/christopher/resource/icons/asf-logo.png >>>> >>>> >>>> **Absolute URL Mode: http://blog.christopher.net.nz/** >>>> >>>> /roller/roller-ui/yui/reset-fonts-grids/reset-fonts-grids.css >>>> /roller/roller-ui/yui/base/base-min.css >>>> http://blog.christopher.net.nz/christopher/page/style.css >>>> http://blog.christopher.net.nz/christopher/rsd >>>> http://blog.christopher.net.nz/christopher/feed/entries/atom >>>> http://blog.christopher.net.nz/christopher/feed/entries/rss >>>> http://blog.christopher.net.nz/christopher/feed/comments/atom >>>> http://blog.christopher.net.nz/christopher/feed/comments/rss >>>> http://blog.christopher.net.nz/roller-services/opensearch/christopher >>>> http://blog.christopher.net.nz/christopher/page/custom.css >>>> http://blog.christopher.net.nz/christopher/ >>>> /roller/ >>>> http://blog.christopher.net.nz/christopher/ >>>> http://blog.christopher.net.nz/christopher/page/archives >>>> /roller/roller-ui/login-redirect.rol >>>> /roller/christopher/search >>>> http://blog.christopher.net.nz/christopher/feed/entries/atom >>>> http://blog.christopher.net.nz/christopher/resource/icons/feed-icon-28x28.png >>>> http://blog.christopher.net.nz/christopher/feed/entries/atom >>>> http://blog.christopher.net.nz/christopher/resource/icons/asf-logo.png >>>> >>>> Regards, >>>> >>>> Chris. >>>> >>>> >>>>> On Thu, Sep 30, 2010 at 10:56 PM, Christopher Dodunski >>>>> >>>>> 1) Why do I need to be messing with URL rewriting, when Roller >>>>> appears >>>>> to >>>>>> be doing this already by way of the above directive? >>>>> >>>>> I don't do any URL rewriting at all on my mutli-domain site. I don't >>>>> understand why you need it and, in fact, I think it is confusing >>>>> things. >>>>> >>>>> >>>>>> 2) If the CSS and page link URLs are incorrectly formed (seems they >>>>>> lead >>>>>> nowhere), then what exactly is wrong with them? >>>>> >>>>> The CSS URLs start with "/roller/roller-ui" are wrong. If you have >>>>> Roller installed at the ROOT context, then those URLs should start >>>>> with "/roller-ui/". There are some clues in your page that indicate >>>>> that you *are* running at the ROOT, so I don't understand the problem >>>>> here. I guess rewriting could be at fault, or a bug in the new >>>>> Fauxcoli theme that you are using (I use it too). >>>>> >>>>> - Dave >>>>> >>>> >>>> >>>> >>> >> >> >> >