Date: Fri, 9 Aug 2002 23:51:47 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: tristan11@mindspring.com Cc: questions@FreeBSD.ORG Subject: Re: SSLRequire Message-ID: <20020809225147.GD90130@happy-idiot-talk.infracaninophi> In-Reply-To: <Springmail.0994.1028916700.0.55800000@webmail.atl.earthlink.net> References: <Springmail.0994.1028916700.0.55800000@webmail.atl.earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 09, 2002 at 02:11:40PM -0400, tristan11@mindspring.com wrote:
> I am trying to set up our Apache13-mod_ssl server to require a password for
> one of our virtual sites when using ssl. After reading the mod_ssl user
> manual, I believe I need to configure the SSL Require directive, but after
> reading the description in the user manual, I'm still not sure what to do.
Can't you use the standard apache password stuff:
<Directory /usr/local/www/data/>
AuthUserFile "/usr/local/www/etc/htpasswd"
AuthName "Something"
AuthType Basic
<Limit GET POST>
Require valid-user
</Limit>
</Directory>
That will pop up a password dialog box on access. Works in exactly
the same way for HTTPS as for HTTP.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
Tel: +44 1628 476614 Marlow
Fax: +44 0870 0522645 Bucks., SL7 1TH UK
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?20020809225147.GD90130>
