Yeah, Marius, you're right.

I was just wondering how they've implemented this feature, for example
at www.basecamphq.com. If you signup, you get a URL that starts with
your account name, something like: myacount.basecamphq.com.

How is that done? Or better, how to do something similar in Lift?

Thanks!


On Jul 26, 12:01 pm, Timothy Perrett <timo...@getintheloop.eu> wrote:
> Id say this is a fairly common idiom with multi-tenant systems...
>
> Cheers, Tim
>
> On Jul 26, 8:30 am, "marius d." <marius.dan...@gmail.com> wrote:
>
>
>
> > What is the usecase of rewriting the hostname? ... Having multiple
> > subdomains mapped to the same IP address and want to discriminate
> > them?
>
> > Br's,
> > Marius
>
> > On Jul 26, 1:22 am, JanWillem Tulp <janwillem.t...@gmail.com> wrote:
>
> > > Hi all,
>
> > > most examples I have seen about Lift URL rewriting are about the path
> > > of the URL, the part that comes after the hostname (and port). But is
> > > it also possible to do URL rewriting on subdomains?
>
> > > For instance, can I rewrite a URL where the account name is used as a
> > > subdomain, something like:http://myaccount.example.comsothatit
> > > maps to something similar tohttp://www.example.com?account=myaccount
>
> > > And is URL rewriting for subdomains always possible, or are there some
> > > prerequisities from a hosting company or something?
>
> > > Thanks!
>
> > > JanWillem Tulp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to