Hi,

I'm rather new to using Tomcat for any role other than running simple
(concealed) form processing Servlets.  So, now that I am serving up
Roller, I had a closer read through the Tomcat documentation... and found
the following:


**Under Proxy Support**
3. Include two directives in your httpd.conf file for each web application
that you wish to forward to Tomcat 6. For example, to forward an
application at context path /myapp:

ProxyPass         /myapp  http://localhost:8081/myapp
ProxyPassReverse  /myapp  http://localhost:8081/myapp

which tells Apache to forward URLs of the form http://localhost/myapp/* to
the Tomcat 6 connector listening on port 8081.  (I already do this)

4. Configure your copy of Tomcat 6 to include a special <Connector>
element, with appropriate proxy settings, for example:

<Connector port="8081" ...
              proxyName="www.mycompany.com"
              proxyPort="80"/>

which will cause servlets inside this web application to think that all
proxied requests were directed to www.mycompany.com on port 80.  (I
haven't done this)


So, should I create a new Tomcat connector on its own port (8081, 8082
etc.) for each Roller URL, which would give me the likes of
http://blog.myblogdomain.com instead of
http://www.mymaindomain.com:8080/roller?

Regards,

Chris.


> we use both liferay and roller for both multidomain
>
> take a look
>
> http://blogs.mervpolis.com
> http://frans.thamura.info
>
> both roller
>
> take a look
>
> meruvian.org
> meruvian.com
>
> both liferay
>
>
> we need workaround for roller in mod_jk, in apache httpd, to make it
> multidomain, and it works
>
>
> --
> Frans Thamura
> Director
> Meruvian.
> The Most Complete Java Services Provider in Indonesia
>
>
> Mobile: +6287885901958
> Blog & Profile: http://frans.thamura.info
>
> We grow because we share the same belief.
>
>
>
> On Wed, Sep 22, 2010 at 5:25 PM, Hu Houcun <hou...@gmail.com> wrote:
>>  liferay (www.liferay.com) had supported multiple domain, and it is
>> opensource
>>
>>
>>
>>      houcun
>>
>>
>> 2010/9/20 Dave <snoopd...@gmail.com>:
>>> The current release of Roller, 4.0.1, cannot do that.
>>>
>>> The upcoming Roller 5 will support multiple domains, but has rather
>>> simple-minded support, there are some limitations and will only work
>>> well if you have a handful of blogs and don't mind adding a line to
>>> the config file for each.
>>>
>>> If you're interested in helping us work the kinks out of it, then
>>> please test the Roller 5 release candidate (RC2) and let us know how
>>> it goes. I can tell you know to configure multi-domain support as I
>>> use it on my blog.
>>>
>>> Roller 5 RC2 announcement:
>>>   http://markmail.org/message/yrlfct6t6xn5rsic
>>>
>>> - Dave
>>>
>>>
>>>
>>>
>>> On Sun, Sep 19, 2010 at 1:10 AM, Christopher Dodunski
>>> <chrisfromsquir...@christopher.net.nz> wrote:
>>>> Hi,
>>>>
>>>> I would like to use Roller on my web server.  I read that Roller
>>>> supports
>>>> multiple blogs.  My web server hosts several domains.  I would like to
>>>> know whether I need to install Roller anew for each domain.
>>>>
>>>> To use the following domains as examples:
>>>>
>>>> http://www.domain1.com
>>>> http://www.domain2.com
>>>> http://www.domain3.com
>>>>
>>>> Each is to have its own independent blog page, like so:
>>>>
>>>> http://blog.domain1.com
>>>> http://blog.domain2.com
>>>> http://blog.domain3.com
>>>>
>>>> Can this be accomplished with a single installation of Roller?  Or do
>>>> I
>>>> need to install Roller for each domain?
>>>>
>>>> Thanks & regards,
>>>>
>>>> Chris.
>>>>
>>>>
>>>
>>
>>
>>
>> --
>>
>> Email :hou...@gmail.com
>>
>


Reply via email to