Chris, I'm going to leap into the middle of this discussion. Please feel free to discount what I'm going to say since I've just briefly glanced at the Roller 5.0 RC2 documentation.
>From what I understand, the intent is to have one Roller application running >as the default web application (ROOT) on a Tomcat server, and have it be the default application for multiple blogger domains. >From the Wiki page, Roller will handle multiple domains with one application >by referring to a properties file, such as: # roller-custom.properties weblog.absoluteurl.photophys=http://photophys.com weblog.absoluteurl.alex=http://greenimp.me weblog.absoluteurl.linus=http://linusjohnson.com I'm guessing that somewhere in the Roller application these absolute URLs are mapped to internal URLs. Maybe this works like an internal mod_rewrite? I don't know, since I haven't looked at the code. Let's assume for a minute that Roller acts as if it has its own URL rewrite engine. If that's the case, then all Tomcat has to do is deliver the multiple URLs to the same application. In other words, photophys.com, greenimp.me, and linusjohnson.com should all be delivered to the ROOT web application of the default host, and Roller will figure out what to do from there. If that's the case, then what I think you need are aliases along with the default host definition. So using the above example, the following <Host> element can be constructed: <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Alias>photophys.com</Alias> <Alias>greenimp.me</Alias> <Alias>linusjohnson.com</Alias> </Host> You'll have to set up all aliases to resolve to the same IP address that is your host. For testing, this can be done in the hosts file. In Linux it's /etc/hosts as long as your nsswitch.conf includes files for host resolution. In Windows/XP (don't know about other versions), it's in Windows\system32\drivers\etc. Hopefully Roller will do the correct thing internally. Fronting this with Apache httpd should not be too difficult if the above works. Basically, you'll use name-based virtual hosts with mod_jk (or mod_proxy_ajp) to map / and /* back to the same Tomcat server. Again, hopefully Roller will figure things out with the Alias elements. If I'm completely off base, please forgive the rambling. Again, I've not played with Roller (and this appears to be a release candidate), not looked at the source code, nor done more than skim one web page and the PDF docs. . . . just my two cents. /mde/ ----- Original Message ---- From: Christopher Dodunski <chrisfromsquir...@christopher.net.nz> To: users@tomcat.apache.org Sent: Mon, October 11, 2010 9:20:48 PM Subject: Re: Configuring which Servlet is invoked Catalina logs contain some entries that may shine some light on the matter... SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/roller/application/optomus does not exist or is not a readable directory INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/optomus] has not been started SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/roller/application/christopher does not exist or is not a readable directory INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/christopher] has not been started SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/roller/application/host-manager does not exist or is not a readable directory INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/host-manager] has not been started SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/roller/application/manager does not exist or is not a readable directory INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/manager] has not been started Is it a Tomcat requirement that additional hosts (appBase) must each contain "manager" and "host-manager"? This appBase currently contains ROOT (Roller) only. The first two errors above make no sense to me. Chris. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org