Re: Able to access URL without port

2009-02-03 Thread Kees de Kooter
You should configure mod_proxy in Apache for that. You basically proxy
no port (is actually port 80) to your port 10080.

The docs for mod_proxy can be found here:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Cheers,
Kees de Kooter
http://www.boplicity.net



On Tue, Feb 3, 2009 at 09:57,  randhir.si...@elitecore.com wrote:
 I had a doubt of something I had heard with regard to the access of URL
 possible without port number if apache is used in the environment. We have
 our application running with JBOSS as the AS and tomcat as the web server.
 My question is that is the URL,

 http://application-URL:10080

 assuming tomcat is running on port 10080 can be accessed like

 http://application-URL

 without the port number if apache is also installed.

 I hope, my question is clear.

 Please, help in solving the doubt.

 regards


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Able to access URL without port

2009-02-03 Thread Sameer Acharya
By default browsers route all http requests to port 80, so if you have Apache 
http in front of TC then this will be true.

-Sameer

http://in.groups.yahoo.com/group/indiaenergy/join

--- On Tue, 2/3/09, randhir.si...@elitecore.com randhir.si...@elitecore.com 
wrote:
From: randhir.si...@elitecore.com randhir.si...@elitecore.com
Subject: Able to access URL without port
To: users@tomcat.apache.org
Date: Tuesday, February 3, 2009, 2:27 PM

I had a doubt of something I had heard with regard to the access of URL
possible without port number if apache is used in the environment. We have
our application running with JBOSS as the AS and tomcat as the web server.
My question is that is the URL,

http://application-URL:10080

assuming tomcat is running on port 10080 can be accessed like

http://application-URL

without the port number if apache is also installed.

I hope, my question is clear.

Please, help in solving the doubt.

regards


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




  

Re: Able to access URL without port

2009-02-03 Thread David Smith
randhir.si...@elitecore.com wrote:
 I had a doubt of something I had heard with regard to the access of URL
 possible without port number if apache is used in the environment. We have
 our application running with JBOSS as the AS and tomcat as the web server.
 My question is that is the URL,

 http://application-URL:10080

 assuming tomcat is running on port 10080 can be accessed like

 http://application-URL

 without the port number if apache is also installed.

 I hope, my question is clear.

 Please, help in solving the doubt.

 regards


   


Small knit here -- when you omit the port number in your URLs, the
browser assumes port 80 for http and 443 for https protocols.  Most
modern browsers will also assume http protocol if you omit the http://
from the beginning of your urls as well.  You could configure a
connector in tomcat to listen on port 80 and eliminate Apache HTTPd all
together if you like.

--David

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org