Re: Allow web access to /WEB-INF?

2006-05-04 Thread Andrew Miehs
Do you have an Apache up front as a reverse proxy? If so, you could make a separate mapping there... Andrew On 03/05/2006, at 6:12 PM, Dong, Roland wrote: Is there a way to have web access to /WEB-INF? I want to have this capability to access a directory under /WEB-INF by URL. Is there a wa

RE: Allow web access to /WEB-INF?

2006-05-03 Thread Chris Berthold
ers List Subject: Re: Allow web access to /WEB-INF? why don't you just workaround it and move the files you need accessed outside the WEB-INF directory, Dong, Roland wrote: > Is there a way to have web access to /WEB-INF? I want to have this > capability to access a directory under

Re: Allow web access to /WEB-INF?

2006-05-03 Thread David Smith
Options I've seen suggested to this: 1) Write a servlet that passes through the content of resources. 2) Internal redirect via a servlet or filter. Either should work. All that's really forbidden is direct client access to the contents of WEB-INF. --David Marc Farrow wrote: > I think the Serv

RE: Allow web access to /WEB-INF?

2006-05-03 Thread Wade Chandler
--- Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Dong, Roland [mailto:[EMAIL PROTECTED] > > > That is not an option. Thanks. I am wondering if > that can be > > configured > > in catalina.policy? Played with it but can't make > it work. > > Not to my knowledge. > > What you *could* do

RE: Allow web access to /WEB-INF?

2006-05-03 Thread Peter Crowther
> From: Dong, Roland [mailto:[EMAIL PROTECTED] > That is not an option. Thanks. I am wondering if that can be > configured > in catalina.policy? Played with it but can't make it work. Not to my knowledge. What you *could* do is the following: - Install a second instance of Tomcat - Set its we

RE: Allow web access to /WEB-INF?

2006-05-03 Thread Dong, Roland
Marc Maybe you are right. Thanks. -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 12:27 PM To: Tomcat Users List Subject: Re: Allow web access to /WEB-INF? I think the Servlet Specs do not allow this, so I doubt any Servlet container will

RE: Allow web access to /WEB-INF?

2006-05-03 Thread Dong, Roland
List Subject: Re: Allow web access to /WEB-INF? why don't you just workaround it and move the files you need accessed outside the WEB-INF directory, Dong, Roland wrote: > Is there a way to have web access to /WEB-INF? I want to have this > capability to access a directory under /WE

Re: Allow web access to /WEB-INF?

2006-05-03 Thread Filip Hanik - Dev Lists
why don't you just workaround it and move the files you need accessed outside the WEB-INF directory, Dong, Roland wrote: Is there a way to have web access to /WEB-INF? I want to have this capability to access a directory under /WEB-INF by URL. Is there a way to configure that? I understand th

Re: Allow web access to /WEB-INF?

2006-05-03 Thread Marc Farrow
I think the Servlet Specs do not allow this, so I doubt any Servlet container will allow this via HTTP. You can do it via File/Stream I/O however. On 5/3/06, Dong, Roland <[EMAIL PROTECTED]> wrote: Is there a way to have web access to /WEB-INF? I want to have this capability to access a dir