Niels Siemons/SVDT <[EMAIL PROTECTED]> wrote: > > hello, > > We want to create the following directory structure with one mmbase > instance: > > /WEB-INF > /mmeditors > /companyA > /companyB > /companyC > > where www.companya.com should have /companyA as documentroot > > Have tried several things in combination with url-rewriting without > succes: > - mod_webapp connector > -mod_jk connector > - proxy > > > Anyone suggestions?
This is very hard to do, because it AFAIK principally (?) impossible to change the part after the first / with the proxy. I'd suggest the following: webapps/editor/WEB-INF/ webapps/editor/mmeditor/ webapps/companyA/WEB-INF/ webapps/companyA/index.jsp webapps/companyB/WEB-INF/ webapps/companyB/index.jsp webapps/companyC/WEB-INF/ webapps/companyC/index.jsp In other words, make for every site a seperate web-app, and don't try it with one mmbase instance. Every app should run on context '/', but on a differect port. With the proxy you can then make 'www.companya.com' (b, c) of it. Since you evidentely want the data to be shared, the 4 mmbases should run on the same database (and you have to enable multicast). In 1.7 I tried to make sure that MMBase only generates relative paths, to make it possible to fiddle with the directory path of the URL with the proxy (with the idea to make possible what you suggest), but the thing which goes terribly wrong still in such a setup is the welcome file (in other words, I think that server-side redirects cannot work), and perhaps the situation is hopeless (unless someone has an idea to work around this?). Michiel -- mihxil' Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 []()
