Cheers will go have a read

Sam

On 15/07/2010 12:27, Raj Saini wrote:
> Hi Sam,
> 
> It is complicated and short answer is ProxyPass directive of mod_proxy
> does not rewrite the absolute links embedded in the pages whereas OFBiz
> links are absolute links. The solution is to use  mod_proxy_html module
> to rewrite the links embedded links
> http://www.apachetutor.org/admin/reverseproxies
> 
> Regards,
> 
> Raj
> 
> 
> On 15/07/10 08:19, Sam Hamilton wrote:
>> 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
>>
>>
>>
>>
>>
>>    
> 

Reply via email to