[thelist] .htaccess Help: Password protection

Eduardo Kienetz eduardok at gmail.com
Mon Jun 26 19:54:16 CDT 2006


On 6/26/06, Gina Anderson <gina at sitediva.com> wrote:
> Hi all, does anyone know if you can "exclude" a single file from .htaccess
> protection? I want to protect an entire webroot and it's subdirectories,
> except for *one file* in the webroot called "login.html".
>
> I can't seem to find any mention how to do this on the internet, unless I'm
> just searching for the wrong terms.
>
> Thanks for any direction,
> Gina

Try adding:

  <Files "login.html">
    satisfy any
  </Files>

You're welcome.

-- 
Eduardo  Bacchi Kienetz
LPI Certified - Level 2
http://www.noticiaslinux.com.br/eduardo/



More information about the thelist mailing list