Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache 2,Tomcat 4.1,JK2. installation,settings and security
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lord
n00b
n00b


Joined: 16 Oct 2002
Posts: 73
Location: Linköping, Sweden

PostPosted: Wed Mar 26, 2003 8:56 pm    Post subject: Apache 2,Tomcat 4.1,JK2. installation,settings and security Reply with quote

I'm want to vhost a couple of domains and have am thinking of installing Apache 2.0 + Tomcat 4.1.x and connect em together with JK2.

Atm I actually dont need Apache, but if I skip apache installation how much do I have to re-do after installing Apache?

I also would really appreciate some concrete advice on how to secure up a Tomcat and Apache installation. To start with I'm gonna virtualhost sites using Servlets, JSP and JDBC. Also tips and advices on how to get optimal performance would be really appreciated. =)
Back to top
View user's profile Send private message
absinthe
Retired Dev
Retired Dev


Joined: 06 Oct 2002
Posts: 111
Location: San Francisco, CA, USA

PostPosted: Sat Mar 29, 2003 12:17 am    Post subject: Re: Apache 2,Tomcat 4.1,JK2. installation,settings and secur Reply with quote

lord wrote:
I'm want to vhost a couple of domains and have am thinking of installing Apache 2.0 + Tomcat 4.1.x and connect em together with JK2.

Atm I actually dont need Apache, but if I skip apache installation how much do I have to re-do after installing Apache?

I also would really appreciate some concrete advice on how to secure up a Tomcat and Apache installation. To start with I'm gonna virtualhost sites using Servlets, JSP and JDBC. Also tips and advices on how to get optimal performance would be really appreciated. =)


This is a large subject and there's many more ways than one to do this. JK2 is currently under development for Gentoo so that can be expected sometime in the future.

If you want to run a standalone servlet engine, I would actually recommend Orion or Resin instead of Tomcat -- they are full J2EE-capable servers with EJB containers... generally more robust, and faster. (Orion and Resin both serve static pages faster than Apache).

You can find Orion in net-www/orion. It's a very solid product. I will be adding Resin to the tree in the next 2-4 weeks. Resin is directly comparable to Orion in almost every way but I haven't finished my ebuild for it yet.

If you don't want or need to run Apache, try Orion. You'll be happier with it. You can run PHP and Perl underneath Orion if you need to. As a webserver it's extremely fast, easy to manage, and inherently more secure than a webserver based in C.

The only downside to Orion (and Resin) is that if you use it for commercial use, you are obliged to buy a license. Otherwise it is free to use for personal or development purposes. (Worth every penny if you do happen to buy a license for commercial use; they are better products than Tomcat and supported commercially).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum