Re: [users@httpd] Diff b/w httpd and tomcat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/18/06, Khawar Wahab <kwahab@xxxxxxxxx> wrote:
> Need some help. I want to run a web-server on my home network and
> experiment with different web technologies. I'm confused whether
> Apache httpd is the server or tomcat is? I have hosted a JSP based
> site using tomcat.
> If tomcat is a web-server, why httpd?
> if both are servers what's the diff? which is better? help!!!

Tomcat is a Java Application server, that can also serve as a web
server. The webserver functionality in Tomcat is not as full featured
as offered by apache.

There is nothing to stop you to host the static part of you website in
Tomca. However I would not do this in a production environment for
several reasons:
- Security is better. Running an apache on port 80 as un unpriviliged
user is a lot easier than doing the same with Tomcat.
- Apache performs way better when serving static content.

A usual setup is to have apache as the "front end" web server, runnign
on port 80 and hosting static content, forwarding URLs for dynamic
content to the Tomcat server. Have a look on the Tomcat site on how to
do this.

Krist

--
krist.vanbesien@xxxxxxxxx
Solothurn, Switzerland

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux