Results 1 to 10 of 11
Hi, As i said in the coffee lounge a few days ago, i am in the process of trying to set up a HTTP server using linux. Before i actually ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-04-2006 #1
Starting an HTTP Server
Hi, As i said in the coffee lounge a few days ago, i am in the process of trying to set up a HTTP server using linux. Before i actually start intalling any software, i would like to make sure that i am going to do things correctly.
All i want, is a server that will display HTTP pages, and java servelts. I have a java book, that says to download tomcat in order to get servelts to function. Now i am just not sure what to download. Apache, Tomcat or both?
I also have a tutorial on how to set tomcat on windows, but how is it supported on linux? Also, what exactly does Apache do, and what does Tomcat do (apart from running java servelts) and what are their main differeces?
Thanks in advance for the help
- 02-04-2006 #2
I would use both, apache for your html and php pages, tomcat for all your jsp pages. works pretty well
http://www.serverwatch.com/tutorials...0825_2203891_1
if that doesn't help do a google search
http://www.google.com/search?hs=8n4&...at&btnG=Search
- 02-05-2006 #3
Thanks alot for the link. I will read it all when i will find a little time. But i am just curious, if all the pages i have are only java servelts, is there even a point in using Apache? Eventually i will have both java and HTML, but i think that i will only have java servets ready within the next month or so. So is it OK to just have Tomcat for a while, or do i need both regradless? Thanks.
- 02-06-2006 #4
tomcat will work fine on its own. I don't know how secure tomcat is compared to apache, one of the benefits of using apache as the frontend. but tomcat will work fine alone
- 02-06-2006 #5
OK, thanks, I won't have any security issues yet, cuz this is just something i will do for fun, and i doubt that i will get hacked. Now saying this, will tomcat also do HTML pages byitself or do i need apache for that? Thanks.
- 02-07-2006 #6
if you are considering html also I would go with the apache + tomcat setup. if you are just doing it for fun then this isn't much more of a step for a much more functional server
- 02-07-2006 #7Just Joined!
- Join Date
- Feb 2006
- Location
- York, United Kingdom
- Posts
- 25
There is a module for Apache so that it supports TomCat / JS Pages.
Theres some information about the module in google:
http://www.google.com/search?sourcei...+Apache+Module
Heres some information from Apaches website about the module:
http://tomcat.apache.org/tomcat-3.2-...che-howto.html
Have Fun!!
- 02-07-2006 #8same thing I was talking about above.
Originally Posted by adaml
- 02-07-2006 #9Just Joined!
- Join Date
- Feb 2006
- Location
- York, United Kingdom
- Posts
- 25
I didnt click on the link, and the google link was just tomcat and apache.... so i didnt think you knew about the module!!
Sorry for repeating then!
- 02-14-2006 #10
Hi I am back again and once again, i would like to thank everyone for their help so far.
I finally got ahold of the computer that i want to set up as a server, but i am not quite sure how to do the installation. I noticed that Fedora can automatically install apache, and the tomcat module for you during the installation. Do you think that i should intall from source, or do you think that i should go ahead and have fedora install it for me?
Also looking ahead at the future, i would like to put sun java on this machine. Once i will install the java, is there a specific file that i have to edit, so that the apache tomcat module will use sun java? Thanks.


Reply With Quote
