Hi Pierre,

Thank you for the feedback. As I'm re-reading my post, I'm thinking that the
multiple OFBiz instance was a bad example on my part to communicate what I'm
looking to do, my apologies.

Essentially what I have is one host, let's call him: www.site1.org.

The structure of the site is something like:
www.site1.org/index.html
www.site1.org/somestuff.html
www.site1.org/someotherstuff.html

I'd like to mount my OFBiz application to:

www.site1.org/myWebApp

I've tried mounting (using httpd) the tomcat container under
www.site1.org/myWebApp/, meaning that I'd like to access Party Manager (for
example) like so: www.site1.org/myWebApp/partymgr.

The problem I seem to be running into is that all OFBiz redirects, and
generated links will cause the browser to be directed to
www.site1.org/partymgr/control/.../, but these should ideally be going to
www.site1.org/myWebApp/partymgr/control/.../. I can't simply rewrite all
URL's in httpd to go to www.site1.org/myWebApp/*, since I still need users
to be able to access www.site1.org/somestuff.html, and the like.

I have tested individually changing Party Manager's mount point from
/partymgr to /myWebApp/partymgr, and this appears to work, but would involve
adding this prefix in all of the webapp configuration XML's in OFBiz. I know
in url.properties, there's a property in which you can define a prefix for
static resources. What I'm wondering is if there's the same facility, or
another technique, in OOTB OFBiz to handle prefixing the webapp mount points
as well.

The multi-tenancy information is interesting and may come in handy in the
future, thank you for pointing that out.

Appreciate all the help!

Thanks,
JS



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Web-Application-Mount-Prefix-tp4644886p4644978.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to