Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is a proposal to enable simple multi-domain support in Roller. It is based on code that I have in production, which enables me to run http://rollerweblogger.org and http://photophys.com via of the very same Roller instance.

The code is attached to Jira ROL-1670

Requirements

  • Allow one Roller instance to specify different URLs for different weblogs
  • Ensure that each weblog is only accessed by one root URL

...

Is this simple design what we want to support in Roller?

Patches

There are two "patches" attached to Jira ROL-1670. One uploaded by Dave Johnson, the other by Sean Gilligan. They are described in the next two sections.

Dave's Patch

Dave's Patch (changedfiles-rol-1670.tgz) is actually a tarball containing all files that were changed or modified.

Sean's Patch

Sean's Patch (sean_simple_multidomain_support.patch) is a real patch. It has one other difference: rather than add the new files in the org.rollerweblogger.roller package they are in org.apache packages where their related classes live. This means that JPAMultiDomainWebloggerModule.java is the name of the Guice binding file, since it lives in the same package as JPAWebloggerModule.java that it is based upon.

...