2 OFBiz Versions on 1 Virtual Host

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

2 OFBiz Versions on 1 Virtual Host

John Lammin
Hi

I'm installing 2 versions of using Apache HTTPD as follows:

www.mycompany.com/ofbizinstall1
www.mycompany.com/ofbizinstall2

In the browser I type in 'www.mycompany.com/ofbizinstall1/ecommerce'  and it displays the ecommerce page OK but all the links on the page still point to 'www.mycompany.com/ecommerce'.

What I'd like to find out is how to make the page links point to 'www.mycompany.com/ofbizstall1/ecommerce' . Is there a simple way to do this?

(BTW I'm using running OFBiz OOTB with Tomcat.)

Any help appreciated.

Regards
John
Reply | Threaded
Open this post in threaded view
|

Re: 2 OFBiz Versions on 1 Virtual Host

BJ Freeman
try this
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD


John Lammin sent the following on 6/27/2009 4:23 PM:

> Hi
>
> I'm installing 2 versions of using Apache HTTPD as follows:
>
> www.mycompany.com/ofbizinstall1
> www.mycompany.com/ofbizinstall2
>
> In the browser I type in 'www.mycompany.com/ofbizinstall1/ecommerce'  and it
> displays the ecommerce page OK but all the links on the page still point to
> 'www.mycompany.com/ecommerce'.
>
> What I'd like to find out is how to make the page links point to
> 'www.mycompany.com/ofbizstall1/ecommerce' . Is there a simple way to do
> this?
>
> (BTW I'm using running OFBiz OOTB with Tomcat.)
>
> Any help appreciated.
>
> Regards
> John

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: 2 OFBiz Versions on 1 Virtual Host

David E. Jones-2

I think the Technical Production Setup Guide on docs.ofbiz.org would  
be more helpful, especially the section about URL writing with  
url.properties, etc.

-David


On Jun 27, 2009, at 6:16 PM, BJ Freeman wrote:

> try this
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD
>
>
> John Lammin sent the following on 6/27/2009 4:23 PM:
>> Hi
>>
>> I'm installing 2 versions of using Apache HTTPD as follows:
>>
>> www.mycompany.com/ofbizinstall1
>> www.mycompany.com/ofbizinstall2
>>
>> In the browser I type in 'www.mycompany.com/ofbizinstall1/
>> ecommerce'  and it
>> displays the ecommerce page OK but all the links on the page still  
>> point to
>> 'www.mycompany.com/ecommerce'.
>>
>> What I'd like to find out is how to make the page links point to
>> 'www.mycompany.com/ofbizstall1/ecommerce' . Is there a simple way  
>> to do
>> this?
>>
>> (BTW I'm using running OFBiz OOTB with Tomcat.)
>>
>> Any help appreciated.
>>
>> Regards
>> John
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>

Reply | Threaded
Open this post in threaded view
|

Re: 2 OFBiz Versions on 1 Virtual Host

John Lammin
Thank you both for your help.

It has helped me to see that my original plan was as simple as I thought.

I have changed to the following solution.

1. Change the port numbers for the https port (Ex. 8443 -> 8444) and internal ports (Ex. 8009 -> 8007) used by the second instance.

2. Create different named ecomclone type applications for each instance. Apache httpd can use Location tags to relay calls to '/firstecomclone' to the first instance and calls to '/anotherecomclone' to the second.

This appears to work fine.

Thanks again,  

John Lammin

David E Jones-4 wrote
I think the Technical Production Setup Guide on docs.ofbiz.org would  
be more helpful, especially the section about URL writing with  
url.properties, etc.

-David


On Jun 27, 2009, at 6:16 PM, BJ Freeman wrote:

> try this
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD
>
>
> John Lammin sent the following on 6/27/2009 4:23 PM:
>> Hi
>>
>> I'm installing 2 versions of using Apache HTTPD as follows:
>>
>> www.mycompany.com/ofbizinstall1
>> www.mycompany.com/ofbizinstall2
>>
>> In the browser I type in 'www.mycompany.com/ofbizinstall1/
>> ecommerce'  and it
>> displays the ecommerce page OK but all the links on the page still  
>> point to
>> 'www.mycompany.com/ecommerce'.
>>
>> What I'd like to find out is how to make the page links point to
>> 'www.mycompany.com/ofbizstall1/ecommerce' . Is there a simple way  
>> to do
>> this?
>>
>> (BTW I'm using running OFBiz OOTB with Tomcat.)
>>
>> Any help appreciated.
>>
>> Regards
>> John
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>