Integrate Apache2 with Tomcat.

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

Integrate Apache2 with Tomcat.

Peter Dirickson
Hi,

 

I'm trying to have my ofbiz to  work with apache2, so instead I have to
browse to:

 

http://server:8080/ecommerce it would forward or proxy(?) to
http://server/ecommerce and the same when it has SSL,
https://server/ecommerce instead of https://server:8443/ecommerce.

 

So I guess I need to use mod_proxy right. I also found out that there is a
mod_jk but I'm not sure if I need it. Any help would be appreciated, thanks.

 

Peter.

 

Reply | Threaded
Open this post in threaded view
|

Re: Integrate Apache2 with Tomcat.

byersa
Check out the old wiki off the main ofbiz.org page.

Peter Dirickson wrote:

> Hi,
>
>  
>
> I'm trying to have my ofbiz to  work with apache2, so instead I have to
> browse to:
>
>  
>
> http://server:8080/ecommerce it would forward or proxy(?) to
> http://server/ecommerce and the same when it has SSL,
> https://server/ecommerce instead of https://server:8443/ecommerce.
>
>  
>
> So I guess I need to use mod_proxy right. I also found out that there is a
> mod_jk but I'm not sure if I need it. Any help would be appreciated, thanks.
>
>  
>
> Peter.
>
>  
>
>
>  

Reply | Threaded
Open this post in threaded view
|

RE: Integrate Apache2 with Tomcat.

Peter Dirickson
Thanks Byers,

I checked the wiki and I figured out how to have port 8080 proxying to port
80.
I just can't do the same using the ssl port 8443 to redirect to port 443.
I'm just using mod_proxy and changed httpd.conf.

Any other ideas?

Thanks,
Peter.

-----Original Message-----
From: Al Byers [mailto:[hidden email]]
Sent: Friday, September 01, 2006 11:48 AM
To: [hidden email]
Subject: Re: Integrate Apache2 with Tomcat.

Check out the old wiki off the main ofbiz.org page.

Peter Dirickson wrote:

> Hi,
>
>  
>
> I'm trying to have my ofbiz to  work with apache2, so instead I have to
> browse to:
>
>  
>
> http://server:8080/ecommerce it would forward or proxy(?) to
> http://server/ecommerce and the same when it has SSL,
> https://server/ecommerce instead of https://server:8443/ecommerce.
>
>  
>
> So I guess I need to use mod_proxy right. I also found out that there is a
> mod_jk but I'm not sure if I need it. Any help would be appreciated,
thanks.
>
>  
>
> Peter.
>
>  
>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Integrate Apache2 with Tomcat.

David E Jones-2

Have you read through the Basic Production Setup Guide? It sounds  
like you what you might need is to change the URL writing  
configuration in OFBiz so it knows to send back and forth between  
http/s.

-David


On Sep 1, 2006, at 1:26 PM, Peter Dirickson wrote:

> Thanks Byers,
>
> I checked the wiki and I figured out how to have port 8080 proxying  
> to port
> 80.
> I just can't do the same using the ssl port 8443 to redirect to  
> port 443.
> I'm just using mod_proxy and changed httpd.conf.
>
> Any other ideas?
>
> Thanks,
> Peter.
>
> -----Original Message-----
> From: Al Byers [mailto:[hidden email]]
> Sent: Friday, September 01, 2006 11:48 AM
> To: [hidden email]
> Subject: Re: Integrate Apache2 with Tomcat.
>
> Check out the old wiki off the main ofbiz.org page.
>
> Peter Dirickson wrote:
>> Hi,
>>
>>
>>
>> I'm trying to have my ofbiz to  work with apache2, so instead I  
>> have to
>> browse to:
>>
>>
>>
>> http://server:8080/ecommerce it would forward or proxy(?) to
>> http://server/ecommerce and the same when it has SSL,
>> https://server/ecommerce instead of https://server:8443/ecommerce.
>>
>>
>>
>> So I guess I need to use mod_proxy right. I also found out that  
>> there is a
>> mod_jk but I'm not sure if I need it. Any help would be appreciated,
> thanks.
>>
>>
>>
>> Peter.
>>
>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Integrate Apache2 with Tomcat.

drosowsk
In reply to this post by Peter Dirickson
Hi Peter,

I would use mod_jk instead of proxy.
We used mod_proxy and it worked for us. But the downside is that you can
only see the IP addresses in the apache logs.
With mod_jk it forwards the addresses too so you can see them in the
webtools.

See this mail from Walter Vaughan a few days ago:
 > Well I was confused a first why you were looking at mod_jk2 since *I*
 > thought it had been depreciated since 2003. On the other hand, since
 > Apache 2.2 is production quality, you may want to start googling on
 > mod_proxy_ajp, since it appears to be the way of the future.
 >
 > From http://rimuhosting.com/mod_jk2.jsp

Cheers,
Daniel

Peter Dirickson wrote:

> Thanks Byers,
>
> I checked the wiki and I figured out how to have port 8080 proxying to port
> 80.
> I just can't do the same using the ssl port 8443 to redirect to port 443.
> I'm just using mod_proxy and changed httpd.conf.
>
> Any other ideas?
>
> Thanks,
> Peter.
>
> -----Original Message-----
> From: Al Byers [mailto:[hidden email]]
> Sent: Friday, September 01, 2006 11:48 AM
> To: [hidden email]
> Subject: Re: Integrate Apache2 with Tomcat.
>
> Check out the old wiki off the main ofbiz.org page.
>
> Peter Dirickson wrote:
>> Hi,
>>
>>  
>>
>> I'm trying to have my ofbiz to  work with apache2, so instead I have to
>> browse to:
>>
>>  
>>
>> http://server:8080/ecommerce it would forward or proxy(?) to
>> http://server/ecommerce and the same when it has SSL,
>> https://server/ecommerce instead of https://server:8443/ecommerce.
>>
>>  
>>
>> So I guess I need to use mod_proxy right. I also found out that there is a
>> mod_jk but I'm not sure if I need it. Any help would be appreciated,
> thanks.
>>  
>>
>> Peter.
>>
>>  
>>
>>
>>  
>
>