It's been awhile since I ran Tomcat with a web server (IIS or Apache), but the 
documentation that comes with Tomcat (including the comments in the *.xml 
config files) is comprehensive.  The docs address your issues in particular.

I am preparing to integrate Tomcat 5.5.9 with Apache httpd 2.0.54 on SuSE 9.3 
Pro and Red Hat Enterprise AS 4.0-U1 in the next day or two, so if your issues 
are not resolved by then, I'll repost with particulars.

RTFM!
~mark

-----Original Message-----
From: Tony Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 12:55 PM
To: Struts Users Mailing List
Subject: Re: running tomcat on port 80[Scanned]


Or, can I move my tomcat under apache so now port
number is necessary in the address?



--- Tony Smith <[EMAIL PROTECTED]> wrote:

> Thank all for response. 
> 
> I loged on as root and changed server.xml to use
> port
> 80. When I start tomcat, it now compained that "80
> is
> already in use". But I can not find out who is using
> it. I ran "netstat -a", but I did not see anything
> like "80". Should I look at something else? 
> 
> I also tried "telnet localhost 80", I got 
>   [EMAIL PROTECTED] telnet localhost 80
>   Trying 127.0.0.1...
>   Connected to localhost.localdomain (127.0.0.1).
>   Escape character is '^]'.
> 
> And it hang on there. I type in 
>    GET index.html HTTP/1.1
> After a couple minutes, I got a "400 bad request"
> from
> "Apache/2.0.46". Looks like I have apache running.
> How
> can I stop the apache server? 
> 
> I am using linux. 
> 
> We are still in the developing stage and all users
> are
> internal. Thus, security is not a concern right now.
> 
> 
> 
> 
> --- Timo -Blazko- Boewing
> <[EMAIL PROTECTED]>
> wrote:
> 
> > On Tue, 2005-06-21 at 18:54 +0200, mario nee
> wrote:
> > > in Unix system you must have root permission to
> > open a port under 1024.
> > > 
> > 
> > Hello,
> > 
> > While this is right, I would not recommend to run
> > Tomcat as root. Better
> > run Tomcat with another port just like the default
> > 8080 and use a
> > firewall application such as iptables to
> internally
> > forward incoming
> > requests to port 8080; thus you avoid dangerous
> > exploits in Tomcat's
> > webapps.
> > 
> > It can be done w/ something similar to this:
> > 
> > iptables -t nat -A PREROUTING -i eth0 -p tcp
> --dport
> > 80 -j REDIRECT
> > --to-port 8080
> > 
> > 
> > -- 
> > greetings,                   |  /"\ 
> >                              |  \ / 
> > ASCII-Ribbon-Campaign
> > Timo                         |   X     Against
> HTML
> > Mail
> >                              |  / \ 
> > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> 
> 
> 
>               
> ____________________________________________________
> 
> Yahoo! Sports 
> Rekindle the Rivalries. Sign up for Fantasy Football
> 
> http://football.fantasysports.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






*******************************************************************************************************************
This email and any file transmitted with it may be confidential and is intended 
solely for the use of the individual or entity to whom it is addressed.  If you 
received this email in error please notify the DBM Service Desk by forwarding 
this message to [EMAIL PROTECTED]


This email has been scanned by networkMaryland Antivirus Service for the 
presence of computer viruses.






********************************************************************************************************************
This email and any file transmitted with it may be confidential and is intended 
solely for the use of the individual or entity to whom it is addressed.  If you 
received this email in error please notify the DBM Service Desk by forwarding 
this message to [EMAIL PROTECTED]


This email has been scanned by networkMaryland Antivirus Service for the 
presence of computer viruses.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to