Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: How to password protect a directory?

Rashmi Rubdi

2006-12-05


Ok, cool.

The solution suggested is for those who don't have Apache HTTP server. But since you have it, it's much easier and secure to use the HTTP server.

----- Original Message ----
From: Mikolaj Rydzewski <miki@(protected)>
To: Tomcat Users List <users@(protected)>
Sent: Tuesday, December 5, 2006 11:08:15 AM
Subject: Re: How to password protect a directory?


Rashmi Rubdi wrote:
> With Tomcat you can also use a URL Rewrite Filter to transparently (HTTP 200) redirect requests to the protected folder
> to a HTTP 403 status or a password required page.
>  
But it would force me to write some code ;-) I've added another
ProxyPass rule in apache and created appropriate .htacces file.

--
Mikolaj Rydzewski <miki@(protected)>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.