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