Re: Setting absolute URL for "child" blog? Possible?

Michael Bien <[email protected]> Thu, 26 Jan 2023 02:29:51 +0100
Newsgroups gmane.comp.java.roller.user
Message-ID <[email protected]>
Hello Phillip,

On 26.01.23 01:33, Phillip Rhodes wrote:
> On Wed, Jan 25, 2023 at 7:24 PM Dave <[email protected]> wrote:
>
>> I'm not sure when we introduced this but there is a setting for "Absolute
>> URL to site (if required)" that might be useful to you.
>
> That I saw, but I took that to be a server-global setting that would
> affect all blogs. Is that the case, or did I misunderstand?

i took a quick look at the code and found:

String multiHostNameURL = 
WebloggerConfig.getProperty("weblog.absoluteurl." + weblogHandle);


so you could try to put this into your roller-custom.properties file and 
take a look if it helps:

weblog.absoluteurl.aiblog=https://aiblog.fogbeam.com


best regards,

michael


>
>
>> If that is not enough, maybe this trick will help.I run three separate
>> domains on my site: rollerweblogger.org, linusjohnson.com and photophys.com
>> by replacing Roller's index.jsp with this:
>> https://gist.github.com/snoopdave/dc120ae36f63bf4a531c1aa3230bc14a
>
> Thanks, I'll take a look at that as well!
>
> Phil