roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Roller 5.0 - multiple domain URLs [success]
Date Fri, 08 Oct 2010 12:34:13 GMT
Glad to hear you made some progress!

More comments below...


On Wed, Oct 6, 2010 at 9:52 PM, Christopher Dodunski
<ChrisFromSquirrel@christopher.net.nz> wrote:
> I'm pleased to report that, after much perseverance, Roller appears
> (mostly) to be running correctly on my web server.  Importantly, the
> multi-domain feature is working, and this is with Tomcat/Roller operating
> behind an Apache HTTP (proxy) server.  This is made possible thanks to the
> Apache mod_proxy module.
>
> My Roller installation is hosting the following six blogs:
>
> weblog.absoluteurl.optomus=http://blog.optomus.com
> weblog.absoluteurl.bread=http://blog.bread.co.nz
> weblog.absoluteurl.capereinga=http://blog.capereinga.co.nz
> weblog.absoluteurl.doubtlessbay=http://blog.doubtlessbay.co
> weblog.absoluteurl.christopher=http://blog.christopher.net.nz
> weblog.absoluteurl.isaac=http://blog.isaac.net.nz
>
> Three of the above are working correctly; three are not.  Roller is
> running from webapps/ROOT context.
>
>
> **Case 1**
> http://blog.capereinga.co.nz/capereinga
> http://blog.doubtlessbay.co/doubtlessbay
> http://blog.isaac.net.nz/isaac
>
> These are working correctly, but I'm unclear as to why it is necessary to
> add the handle name to the end of the URL.  Ideally, one should arrive at
> capereinga blog via http://blog.capereinga.co.nz.  I would expect Roller
> to locate blog.capereinga.co.nz in the header of the incoming HTTP request
> packet, and serve up the correct blog by way of the associated
> 'weblog.absoluteurl' directive.  Instead, http://blog.capereinga.co.nz
> serves up the default (optomus) blog page.

Yes, this is a drawback of the multi-domain setup as it stands in 5.0.


> Here are the mod_proxy directives for the above three domains:
>
> ProxyPass / ajp://127.0.0.1:8009/
> ProxyPassReverse / ajp://127.0.0.1:8009/
>
> **Case 2**
> http://blog.optomus.com/optomus
> http://blog.christopher.net.nz/christopher
>
> These are not working correctly.  Tomcat is responding with the output
> from a Servlet not even belonging to Roller.  This is due to the fact that
> I happen to have web applications under webapps/optomus and
> webapps/christopher.  Maybe a Tomcat configurational change would re route
> these.

Yes, that or an HTTPD config change.


> **Case 3**
> http://blog.bread.co.nz/bread
>
> Really, this blog can be counted under case 1 above.  Except that the
> mod_proxy directive is set to:
>
> ProxyPass / ajp://127.0.0.1:8009/bread/
> ProxyPassReverse / ajp://127.0.0.1:8009/bread/
>
> I hoped this would allow me to use http://blog.bread.co.nz, without the
> blog handle at the end.  It does, but, unfortunately, also produces the
> original problem of bad URLs inside the HTML.  For example, CSS is not
> located and loaded.
>
> So, although Roller is now multi-domain functional, certain problems
> persist.  I'm not yet at the stage of producing a Roller HOWTO that would
> give consistent, satisfactory results for those running Roller behind an
> Apache HTTP proxy server.

That would be a wonderful thing and I'd be happy to help!

Thanks,
Dave

Mime
View raw message