Hey Guys, I am wondering how other people get over this problem?
If you have multiple websites running in OFBiz at the same time then they will all be mounted at different urls e.g. /ecommerce & /ecommerce2 & /ecommerce3 for three different websites. Now its easy to setup ajp/httpd to point www.ecommerce.com to /ecommerce and then www.ecommerce2.com to /ecommerce2 etc. But when you do this then go to www.ecommerce.com and try and click any of the links it has automatically added the mount point back into the url e.g. www.ecommerce.com/ecommerce/control/view/showcart but these 404 because we have done the trickery with ajp to try and hide the mount point. I have found that it is something to do with <@ofbizUrl> tags in the FTL but I am not sure how to alter them to drop the /ecommerce/ Thanks Sam