Re: Ideas for password-protecting live site

Eric Carlson <[email protected]> Tue, 09 May 2006 11:33:30 +0100
Newsgroups gmane.text.xml.resin.user
Organization Group Technical
Message-ID <[email protected]>
On Tue, 9 May 2006 10:12:32 +0100, you wrote:

>> it too much just to deny unauthorised access means it isn't ;-) What I
>> really want is the functionality I'd get by dropping a .htaccess file
>> in my root dir, running mod_caucho & apache, and having apache pop up
>> its password box once first, then the site appears as normal. I tried
>> this and apache just ignored it (because jsp's bypass it?). Anyway,
>> this and other ideas very welcome for what must be a common situation
>> please. Thanks.
>
>In your apache config, use a <Location> tag to define the URL as password protected or alternatively a <Directory> tag to define the protection of the root directory:

I tried that and it didn't work - its really the same as dropping in a
.htaccess file. The odd thing is this has worked in the past, so its
either my config or a bug. I'm on resin 3.0.14 pro - what version is
yours please?