IDependOn-Set: 1
IDependOn-Set: 2
IDependOn-Set: 222
IDependOn-Set: 263
IDependOn-Set: 264
IDependOn-Set: 7
LastModifiedSecs: 933187866
Parent: 7
SequenceNumber: 2
Title: How to use a servlet to protect a directory.
Part: 0
Author-Set: jon@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 933187866
Type: monospaced
Lines: 25
----------
From: "jon *" <jon@clearink.com>
To: Java Apache Users <java-apache-users@list.working-dogs.com>
Subject: Re: protection with a servlet?
Date: Wed, Jul 28, 1999, 11:33 AM

> I would like to alias a servlet to an entire directory so that when ever
> anyone attempts to access a file in that directory then they are given
> the servlet instead of the requested file.  I have seen, read, and set
> up multiple aliases for servlet names but nothing as to aliasing a
> servlet to an entire directory.  Can somebody point me in the direction
> of some documention or offer some other form of help.
>
> Thanks in advance,
>
> Paul Bundick
> Systems Administrator
> Phoenix Integration


Use mod_rewrite.

<http://www.apache.org/docs/mod/mod_rewrite.html>

-jon
EndPart: 0
