Humm thank you the urlrewriterfilter sounds very good, i will try it.

Thank you from Brazil.



2012/1/11, Mikolaj Rydzewski <[email protected]>:
>  On Wed, 11 Jan 2012 13:04:24 +0000, Mark Thomas wrote:
>> On 11/01/2012 13:00, Luciano Andress Martini wrote:
>>> I need to block a directory in Tomcat, with all the files and
>>> sub-dirs,  i cant change the path of this directory. =[
>>> Like we do in Apache2, and without changing files permission.
>>>
>>> Its possible?
>>
>> Yes.
>>
>> Write a Servlet. Hard code it to return 404 and map it to the path
>> that
>> equates to the directory.
>
>  Or use some kind of URL rewriter, e.g.
>  http://code.google.com/p/urlrewritefilter/
>
> --
>  Mikolaj Rydzewski <[email protected]>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to