Hi Thx for the same
Web application would be installed on 3 nodes of Tomcat below the single load balancer of Apache http 2.x server >> "www.acme.com" being exposed to INTERNET >> >> "www.acme.com/admin" being exposed to INTRANET We would like to block the "/admin" from the INTERNET access If some body uses "/admin" the response should be blocked If the same "/admin" is to be used within the INTRANET local access We should be able to display the credentials How To achieve the same ? With regards karthik -----Original Message----- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Tuesday, April 21, 2009 12:51 PM To: Tomcat Users List Subject: Re: R: Apache / Tomcat Load Balanced mode On 21.04.2009 09:06, Leandro Dardini wrote: > > >> -----Messaggio originale----- Da: Karthik Nanjangude >> [mailto:karthik.nanjang...@xius-bcgi.com] Inviato: martedì 21 >> aprile 2009 7.34 A: Tomcat Users List Oggetto: Apache / Tomcat Load >> Balanced mode >> >> Hi >> >> Would the same work with Apache / Tomcat Load Balanced mode >> >> Configuration for single installation of the web application >> "acme" >> >> >> "www.acme.com" being exposed to INTERNET >> >> "www.acme.com/admin" being exposed to INTRANET >> >> >> Reason : The application uses a single DB to request of orders >> (from Subscribers) and same URL with *admin* would process the >> orders ( Internal Employees) and should not be exposed to outside >> world. >> >> >> Is there any Configuration with in Apache or Tomcat to achieve the >> same? >> >> >> >> With regards Karthik >> >> > > Maybe I don't understand your question, but to me there is no > difference in configuring access in Load Balanced or not Load > Balanced mode. > > As regarding the admin section, you can filter it using apache access > control. I agree, load balancing seems to be not related to the question. One first decision would be, whether you are able to deploy your application twice, once as the ROOT context and once as admin. Then everything will become obvious. If you only want to deploy it once, e.g. as admin, then you will need to do URL rewriting in the Apache-Layer. When using mod_proxy, you can find info about that at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html When using mod_jk, look at http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html Regards, Rainer --------------------------------------------------------------------- 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