Esteemed monks,

I am designing a Catalyst application (my first), which I hope to run as a single instance, with single sign-on, across multiple subdomains.

I have found the Catalyst::Action::SubDomain module, which looks very promising. The documentation is fairly sparse, and does not addresses any domain/server configuration required in order to run a single instance as I propose.

My questions are:

  1. In order to have a single Catalyst app instance running across multiple subdomains, must those subdomains be mirrored domains (i.e., using Apache's ServerAlias directive)?
  2. In order to have single sign-on between domains, must I use a wildcard domain in the session cookie?
  3. Most of all, is Catalyst::Action::Subdomain the best choice for determining within my app which domain the request is going to, so that the app can be customized for each domain?

Thank you for your time and consideration.

There are 10 types of people in this world...those who grok binary, and those who don't.

In reply to Running a single instance of a Catalyst app across multiple subdomains with single sign-on by Akoya

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.