Thanks to all of you for your support! one last and stupid question. To disable the 8080 on tomcat, do I have to edit server.xml look for 8080 and comment or delete this line?
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" /> thak you > yeah, you could do it that way too. There are probably loads of ways but > that's as good as any. > > Good luck > > Ta > Matt > > -----Original Message----- > From: Allen Beacon [mailto:[EMAIL PROTECTED] > Sent: 26 November 2004 10:15 > To: [EMAIL PROTECTED] > Subject: RE: Tomcat > > > What if I disable 8080 on tomcat and put it in the connector of apache and > create a virtual server (with a local ip) for it. > thanks! > >> >> Ah yes, you'd be right in thinking that. You should read up on filters >> then and you should be able to put a restriction on it. >> >> Ta >> Matt >> >> -----Original Message----- >> From: Allen Beacon [mailto:[EMAIL PROTECTED] >> Sent: 26 November 2004 09:56 >> To: [EMAIL PROTECTED] >> Subject: RE: Tomcat >> >> >> Ok I got the connector working but I�m afraid that if disable 8080 on >> tomcat, I won�t be able to access the ROOT context not even locally. >> >>> It's up to you whether it is accessible from the web or not. You map >>> each >>> application individually in the connector configuration. All you need >>> to >>> do it just not map the ROOT context and then it's not available from >>> the >>> web. >>> >>> -----Original Message----- >>> From: Allen Beacon [mailto:[EMAIL PROTECTED] >>> Sent: 26 November 2004 09:24 >>> To: [EMAIL PROTECTED] >>> Subject: RE: Tomcat >>> >>> >>> If get the connector working, would I be able to access /webapps/ROOT >>> via >>> web? and in case this happens, could I create a virual server (for >>> local >>> host) pointing to webapps/ROOT so it will only be accessed locally? >>> thank you very much! >>>> >>>> Once you get the connector working you could disable tomcat on 8080 so >>>> it >>>> is only accessible through apache. >>>> >>>> I think you can also you use filters to filter which ip addresses are >>>> allowed to connect but you'll need to read up the docs on that. >>>> >>>> -----Original Message----- >>>> From: Allen Beacon [mailto:[EMAIL PROTECTED] >>>> Sent: 26 November 2004 08:46 >>>> To: [EMAIL PROTECTED] >>>> Subject: Re: Tomcat >>>> >>>> >>>> I�ll check the configuration.Thanks >>>> Do you know how to configure the tomcat manager page the one at >>>> /opt/jakarta/tomcat/webapps/ROOT> so nobody from the internet can >>>> access >>>> it but I could get to it, to upload servlets but only locally. I know >>>> that >>>> I can change the port but that�s not what I�m looking for. >>>> thanks in advance! >>>> >>>> >>>>> Then you haven't configured it correctly! It is not enough to just >>>>> install >>>>> it... >>>>> I am using this myself without any problems... >>>>> >>>>> BTJ >>>>> >>>>> Allen Beacon wrote: >>>>>> I have the connector installed but I still need to type :8080 in >>>>>> order >>>>>> to >>>>>> access the applet pages >>>>>> >>>>>>>http://jakarta.apache.org/tomcat/connectors-doc/jk2/index.html >>>>>>> >>>>>>>BTJ >>>>>>> >>>>>>>Allen Beacon wrote: >>>>>>> >>>>>>>>Sorry Quinton I should reply to the list, >>>>>>>>as I told you that could do it.however, I was looking for something >>>>>>>> like >>>>>>>>using a virtual server so my users can use htlm pages from Apache2 >>>>>>>> and >>>>>>>>servlets from Tomcat and I don�t want to show in the url :8080 >>>>>>>> >>>>>>>> I was looking for something like using a virtual server so >>>>>>>>depending of the url the use they will use static html pages from >>>>>>>>apache2 >>>>>>>>or servlets from Tomcat. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>On Friday 26 November 2004 07:02, [EMAIL PROTECTED] wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>>>Hi there, >>>>>>>>>>I would like to access my pages created with applets in Tomcat by >>>>>>>>>>typing >>>>>>>>>>the host in the URL and not having to add the default port for >>>>>>>>>> Tomcat >>>>>>>>>>(:8080). I have Apache2 and the apache2-jakarta-tomcat connectors >>>>>>>>>>installed. >>>>>>>>> >>>>>>>>>I created a index.html with a meta-tag in it that automatically >>>>>>>>>redirects >>>>>>>>>the >>>>>>>>>browser to the tomcat port. >>>>>>>>> >>>>>>>>>I needed to keep my Apache for other purposes and changing the >>>>>>>>> default >>>>>>>>>connector of Tomcat to Port 80 was not an option. >>>>>>>>> >>>>>>>>>Here is my code: >>>>>>>>> >>>>>>>>><html> >>>>>>>>> <head> >>>>>>>>> <meta http-equiv="refresh" >>>>>>>>>content="1;URL=http://your.server.site:8080/"> >>>>>>>>> </head> >>>>>>>>> <body> >>>>>>>>> </body> >>>>>>>>></html> >>>>>>>>> >>>>>>>>>Q >>>>>>>>>-- >>>>>>>>>Quinton Delpeche >>>>>>>>>Internal Systems Developer >>>>>>>>>Softline VIP >>>>>>>>> >>>>>>>>>Telephone: +27 12 420 7000 >>>>>>>>>Direct: +27 12 420 7007 >>>>>>>>>Facsimile: +27 12 420 7344 >>>>>>>>> >>>>>>>>>http://www.vippayroll.co.za/ >>>>>>>>> >>>>>>>>>Command, n.: >>>>>>>>> Statement presented by a human and accepted by a computer in >>>>>>>>>such a manner as to make the human feel as if he is in control. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>--------------------------------------------------------------------- >>>>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>>For additional commands, e-mail: >>>>>>>> [EMAIL PROTECTED] >>>>>>>> >>>>>>> >>>>>>>--------------------------------------------------------------------- >>>>>>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
