List Info

Thread: How can I use subdomain for user's blog.




How can I use subdomain for user's blog.
user name
2006-11-22 01:28:52
Hi, Dave Cowing, your configuration may worked as this:
all the domains that matches will bring you to the same
page(front page of
roller)?

2006/11/22, Dave Cowing <dcowinggmail.com>:
>
> I've just done this in Tomcat, with minor changes to
the roller templates
> for path changes.  In my server.xml I set up a host
whose name matches my
> target domain (would be <weblog-handle>.xpert.cn
in this case) and target
> appBase.  Then I set up a context in it with a
path="" and a
> docbase="roller".
>
> Snap shot of my server.xml file below:
>
>       <Host
>           name="{target domain}"
>           appBase="/opt/roller3/webapp"
>           debug="100">
>           <Context path=""
>           docBase="roller"
>           debug="0"
>           reloadable="false"
crossContext="true">
>
> ...
>
>           </Context>
>       </Host>
>
> This seems to work just fine.
> -Dave
>
> -----Original Message-----
> From: Dave [mailto:snoopdavegmail.com]
> Sent: Tuesday, November 21, 2006 2:44 PM
> To: roller-userincubator.apache.org
> Subject: Re: How can I use subdomain for user's blog.
>
> On 11/19/06, Shutra Zhou <zhoushuqungmail.com> wrote:
> >
> > The standard url structure is: http://xpert.cn
/<weblog-handle> Now,
> > I'd like to setup as this: http://<we
blog-handle>.xpert.cn/.
> > What should I do in roller?
>
>
>
> That will probably require some URL rewriting or code
changes to Roller.
>
> Has anybody tried that before?
>
> - Dave
>
>
How can I use subdomain for user's blog.
user name
2006-11-22 01:35:33
I'm not sure I understand the question.  Now that I think
about it, if you
have many people creating weblogs, this really won't work. 
If you (like me)
are hosting a single (or small number of weblogs), then this
is a good
solution.  In my case, my url would look like http://blog.example.com
and
would take the user to my default (and only) weblog in
roller. 

-----Original Message-----
From: Shutra Zhou [mailto:zhoushuqungmail.com] 
Sent: Tuesday, November 21, 2006 8:29 PM
To: roller-userincubator.apache.org
Subject: Re: How can I use subdomain for user's blog.

Hi, Dave Cowing, your configuration may worked as this:
all the domains that matches will bring you to the same
page(front page of
roller)?

2006/11/22, Dave Cowing <dcowinggmail.com>:
>
> I've just done this in Tomcat, with minor changes to
the roller 
> templates for path changes.  In my server.xml I set up
a host whose 
> name matches my target domain (would be
<weblog-handle>.xpert.cn in 
> this case) and target appBase.  Then I set up a context
in it with a 
> path="" and a docbase="roller".
>
> Snap shot of my server.xml file below:
>
>       <Host
>           name="{target domain}"
>           appBase="/opt/roller3/webapp"
>           debug="100">
>           <Context path=""
>           docBase="roller"
>           debug="0"
>           reloadable="false"
crossContext="true">
>
> ...
>
>           </Context>
>       </Host>
>
> This seems to work just fine.
> -Dave
>
> -----Original Message-----
> From: Dave [mailto:snoopdavegmail.com]
> Sent: Tuesday, November 21, 2006 2:44 PM
> To: roller-userincubator.apache.org
> Subject: Re: How can I use subdomain for user's blog.
>
> On 11/19/06, Shutra Zhou <zhoushuqungmail.com> wrote:
> >
> > The standard url structure is: http://xpert.cn
/<weblog-handle> Now, 
> > I'd like to setup as this: http://<we
blog-handle>.xpert.cn/.
> > What should I do in roller?
>
>
>
> That will probably require some URL rewriting or code
changes to Roller.
>
> Has anybody tried that before?
>
> - Dave
>
>

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )