Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 18:23:18 -0500 (EST)
From:      Omachonu Ogali <oogali@intranova.net>
To:        Sarton O'Brien <roguetr@patho.gen.nz>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Apache Basic Authentication
Message-ID:  <Pine.BSF.4.10.10004011819010.19816-100000@hydrant.intranova.net>
In-Reply-To: <38E59B78.89E7BE31@patho.gen.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
One, this isn't a FreeBSD-specific question so it needs not be on this
list, two, your .htaccess should look like this:

-- snip --
<Location /path/to/things/to/protected>
  <Limit GET POST>
    order allow,deny
    allow from all
    require valid-user
  </Limit>
</Location>

AuthType Basic
AuthUserFile /usr/home/roguetr/public_html/etc/htpasswd.users
AuthName "Sammy.quicksilver.net.nz"
-- snip --

On Sat, 1 Apr 2000, Sarton O'Brien wrote:

> Howdy,
> 
> This probably isn't the place to ask this, I apologise if so.
> 
> I am trying to enable Basic Authentication on a directory.
> The .htaccess file reads:
> 
> AuthType Basic
> AuthUserFile /usr/home/roguetr/public_html/etc/htpasswd.users
> AuthName "Sammy.quicksilver.net.nz"
> require valid-user
> 
> The htpasswd.users file was created using htpasswd.
> 
> These files are replicas (except for the specified file locations) of a
> setup that works. In these circumstances however, nothing seems to
> happen.
> 
> Apache is 1.3.11 with php4 compiled in. I have seen at least 3 types of
> auth mod in the conf file. Everything else seems to work fine so I'm
> assuming it has something to do with the way I'm trying to enable it
> rather than a problem with the server.
> 
> Could any replies please be CCed to this address. Thanks for any help.
> This mailing list is a life saver.
> 
> Sarton O'Brien
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
+-------------------------------------------------------------------------+
| Omachonu Ogali                                     oogali@intranova.net |
| Intranova Networking Group                 http://tribune.intranova.net |
| PGP Key ID:                                                  0xBFE60839 |
| PGP Fingerprint:       C8 51 14 FD 2A 87 53 D1  E3 AA 12 12 01 93 BD 34 |
+-------------------------------------------------------------------------+



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004011819010.19816-100000>