Hello.
I've searched the archives on this subject, but the nearest I've reached has
been some posts about not serving static content. It's a bit of a surprise that
no one has asked this before, so sorry if it is a recurrent question.
I want Tomcat (4) to execute JSPs as usual, but prevent it
Ideally, files you don't want to be seen should be placed in WEB-INF.
An alternative is to use a security constraint on the directory that has all
of the content. This can be done in apache too via the Location directive.
Another way is to place all those JSP's with a different extension and
It sounds like Albert wants certain (static) files to be viewable.
He just doesn't want anyone to be able to execute JSPs from this directory.
One thing you could try is a servlet mapping that sends all requests ending in
that directory that end with .jsp to a servlet that sends back a message
One thing you could try is a servlet mapping that sends all requests ending
in that directory that end with .jsp
...all requests FROM that directory that end with .jsp.
Haven't had my coffee yet.. ;-)
On Friday 12 December 2003 09:36 am, Ben Souther wrote:
It sounds like Albert wants
.
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:36 PM
Subject: Re: Disabling JSP execution under certain dirs
It sounds like Albert wants certain (static) files to be viewable.
He just doesn't want anyone to be able
PROTECTED]
Sent: Friday, December 12, 2003 3:36 PM
Subject: Re: Disabling JSP execution under certain dirs
It sounds like Albert wants certain (static) files to be viewable.
He just doesn't want anyone to be able to execute JSPs from this directory.
One thing you could try is a servlet mapping
JSP execution under certain dirs
It sounds like Albert wants certain (static) files to be viewable.
He just doesn't want anyone to be able to execute JSPs from this directory.
One thing you could try is a servlet mapping that sends all requests ending in
that directory that end with .jsp
. Diggory [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 4:24 PM
Subject: Re: Disabling JSP execution under certain dirs
Yes, Unfortunately, I bounced off this as well, it would have behooved
the Servlet API developers to allow URL Rewrites to be a little
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:36 PM
Subject: Re: Disabling JSP execution under certain dirs
It sounds like Albert wants certain (static) files to be viewable.
He just doesn't want anyone to be able to execute JSPs from this
directory.
One
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 4:24 PM
Subject: Re: Disabling JSP execution under certain dirs
Yes, Unfortunately, I bounced off this as well, it would have behooved
the Servlet API developers to allow URL Rewrites to be a little more
powerful
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 4:24 PM
Subject: Re: Disabling JSP execution under certain dirs
Yes, Unfortunately, I bounced off this as well, it would have behooved
the Servlet API developers to allow URL Rewrites to be a little more
powerful from a REGEXP
11 matches
Mail list logo