Hi Dave, Thank you, I appreciate your help. I'll persevere with getting Roller working correctly with root context but, ideally, it would be better not to have web applications require root context. It isn't always possible to grant it.
Having said that, it seems that my particular problem has more to do with proxying. I think the ProxyPassReverse directive is inserting "/roller/christopher" into URLs contained in HTTP headers. If true, then this is of interest to you. As I expect many Tomcat containers are operating behind Apache HTTP (proxy) servers. This becomes an issue with Roller multi-domaining. How does Roller enquire the hostname when rendering these URLs? From the header of the incoming HTTP request perhaps? Roller then responds with the associated blog/handle as defined in roller-custom.properties? Thanks & regards, Chris Dodunski. > On Sat, Oct 2, 2010 at 3:45 PM, Christopher Dodunski > <chrisfromsquir...@christopher.net.nz> wrote: >> I have discovered a hidden pattern in the bad URLs served up by >> Tomcat/Roller, which I think may shine light on the matter. >> >> Firstly, regarding the below directives: >> >> ProxyPass / ajp://127.0.0.1:8009/roller/christopher/ >> ProxyPassReverse / ajp://127.0.0.1:8009/roller/christopher/ >> >> I am informed by the boys at Rimu Hosting (my VPS provider) that "The >> proxypass statements do not provide any inherant redirection, in this >> case >> they merely mask the /roller/christopher location." > > I'm not that familiar with ProxyPass or ProxyPassReverse, but I don't > understand why those URLs above include the word '/roller/'. If you > have Roller installed at the root context, you should not need that. > > - Dave > > >> So I selected four of the bad URLs, and pasted them directly into my >> browser. The resulting '404' error responses (below) reveal >> discrepancies >> in the paths contained in the URLs compared to the paths displayed in >> the >> error messages. Namely, the latter are all preceded by >> "/roller/christopher" which, I'm guessing, is not what we want to see. >> >> http://blog.christopher.net.nz/roller/roller-ui/yui/base/base-min.css >> Sorry! We couldn't find your document >> Status Code 404 >> Message >> /roller/christopher/roller/roller-ui/yui/base/base-min.css >> Type >> Exception The file that you requested could not be found on this >> server. >> >> http://blog.christopher.net.nz/christopher/page/style.css >> Sorry! We couldn't find your document >> Status Code 404 >> Message /roller/christopher/christopher/page/style.css >> Type >> Exception The file that you requested could not be found on this >> server. >> >> http://blog.christopher.net.nz/christopher/page/archives >> Sorry! We couldn't find your document >> Status Code 404 >> Message /roller/christopher/christopher/page/archives >> Type >> Exception The file that you requested could not be found on this >> server. >> >> http://blog.christopher.net.nz/christopher/feed/entries/atom >> Sorry! We couldn't find your document >> Status Code 404 >> Message /roller/christopher/christopher/feed/entries/atom >> Type >> Exception The file that you requested could not be found on this >> server. >> >> Regards, >> >> Chris Dodunski. >> >> >