Hi,

I'm currently attempting to use httpd as a front end to OFBiz. I do have it
working using the AJP proxy, after following the advice written here:
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD.

I have a question about running multiple instances of OFBiz on the same
machine. I know that it's possible to change the ports and have multiple
OFBiz instances running on the machine, but if I'm not mistaken, this only
applies when you don't have httpd as a frontend. I haven't been able to find
any resources for handling the situation in which Apache httpd is put in
front of multiple OFBiz instances.

Normally, I would mount my web applications to different contexts in order
to differentiate the requests: 
/app1
/app2

OFBiz will also need to know which context it is mounted to in order to
generate the links, redirects, etc. otherwise if the application sends a
user to /partymgr, my understanding is that httpd will not know to direct
the user to /app1 or /app2. Whereas, if there were a way to enter a prefix,
any links generated would be to /app[x]/partymgr.

I know that this is possible in OFBiz by prefixing the mount points of all
the webapps which run, but was wondering if there was a more "global" way to
do this for an entire OFBiz install, rather than editing all of the
ofbiz-component.xml's?

I saw a feature request from 2006 which outlines a similar goal:
https://issues.apache.org/jira/browse/OFBIZ-94. I understand that this
particular implementation was never instituted, but was wondering if there
had been any other feature implemented, or a technique that I don't yet know
about which accomplishes what I'm trying to do. I know there was a patch
posted, but was trying to stick to OOTB as closely as possible.

Thanks!



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

Reply via email to