Date: Tue, 21 Sep 1999 20:44:15 +0100 From: Brian Somers <brian@Awfulhak.org> To: support@junglenote.com Cc: "[FreeBSD-ISP-List] (E-post)" <freebsd-isp@FreeBSD.ORG> Subject: Re: htaccess query Message-ID: <199909211944.UAA28372@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Tue, 21 Sep 1999 17:52:51 %2B0200." <01BF045A.1FE43340.support@junglenote.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have set up a namebased virtual host called myaccount.mydomain.com
> which is for our customers to check their billing etc. I want to password
> protect the entire domain with a username and password. I tried using
> the Limit directive, but that didn't work. How do I do it?
By putting a .htaccess file in the DocumentRoot - something like
AuthType Basic
AuthUserFile /some/absolute/path/.htpasswd
AuthName "Prompt for a password"
require valid-user
> running apache 1.3.9
>
> Regards
> ----
> Dan Larsson ( mailto:dan@junglenote.com )
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909211944.UAA28372>
