Originally posted by Ernest Friedman-Hill:
You can't run servlets/JSPs with Apache HTTPD, no. Probably someone, somewhere, has written a module that lets you do this, but I'm not aware of one, and even if it exists, it's not widely used. That's what Tomcat is for -- or another servlet container.
what does 'D' stand for in HTTPD?
but why are you calling it HTTPD instead of HTTP server as listed on the Apache website?
Originally posted by Ben Souther:
The predecessor to Tomcat was called "JServ" and was a module for Apache HTTPD.
A lot of us are just using Tomcat as a standalone server.
Not entirely sure which was more frustrating, Apache JServ or... shudder... JWS 1.0
Originally posted by Bear Bibeault:
P.S. I think I still have some old JWS disks lying around... maybe I should microwave them just for fun!
Originally posted by Ben Souther:
Tomcat, on it's own can't bind to ports below 1024 on Unix systems unless it's run as root. Apache binds to ports 80 and 443 as root and then downgrades itself to a user with lesser privileges. A lot of people have integrated the two just so they could run on port 80 without Tomcat running as root.
There are other options now (such as http://jakarta.apache.org/commons/daemon).
One really clever option -- which I'm using, but didn't invent -- is to run Tomcat on a non-privileged port as an ordinary user, but use iptables to forward port 80 traffic to that non-privileged port inside the kernel. It's easy to set up and works like a champ!
[ EFH: Fixed formatting. ]
[ July 12, 2005: Message edited by: Ernest Friedman-Hill ]
Originally posted by Ben Souther:
That was one I've had in mind but have never tried.
If you know of a HOWTO link.....
Originally posted by Ernest Friedman-Hill:
Yes I do, actually! Because I just set this up last week, I was able to find the link to the reference I used in my browser history. Here it is:
http://www.klawitter.de/tomcat80.html
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|