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:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 8:29 PM To: [email protected] 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 <[EMAIL PROTECTED]>: > > 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:[EMAIL PROTECTED] > Sent: Tuesday, November 21, 2006 2:44 PM > To: [email protected] > Subject: Re: How can I use subdomain for user's blog. > > On 11/19/06, Shutra Zhou <[EMAIL PROTECTED]> wrote: > > > > The standard url structure is: http://xpert.cn/<weblog-handle> Now, > > I'd like to setup as this: http://<weblog-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 > >
