Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!dk6g2000vbb.googlegroups.com!not-for-mail From: zigzagdna Newsgroups: comp.lang.java.programmer Subject: How to block http access for selective URL's Date: Thu, 29 Sep 2011 18:09:26 -0700 (PDT) Organization: http://groups.google.com Lines: 12 Message-ID: <0f7e5dde-1651-4644-9a41-0145401f2b74@dk6g2000vbb.googlegroups.com> NNTP-Posting-Host: 148.177.1.216 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1317344966 2503 127.0.0.1 (30 Sep 2011 01:09:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 30 Sep 2011 01:09:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: dk6g2000vbb.googlegroups.com; posting-host=148.177.1.216; posting-account=PUA9dQoAAAAWB6fqjaJDJmTx7eb4x-f4 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLEUHCNK X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; MS-RTC LM 8; .NET4.0C; .NET4.0E),gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8405 I have several web sites under same installation of Apache Tomcat, e.g., http://mycomputer.com/web-admin http://mycomputer.com/teamacces https://mycomputer.com/teamacces What I want to do is to disallow http access to 2nd URL, but allow http access to 1st URL. Where I look at server.xml, I can block http access for all web sites under mycomputer.com but that is not what I want, I still have to allow http access to 1st URL. Is there a way to do it, if yes, how?