Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2009 07:14:40 -0500
From:      Jerry <gesbbb@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: An Apache2 configuration question
Message-ID:  <20090102071440.4b063e5a@scorpio>
In-Reply-To: <20090102073354.GA4245@teddy.fas.com>
References:  <20090102073354.GA4245@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/rvbo_8NxGNE+OiOZKsFL=Az
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, 2 Jan 2009 02:33:54 -0500
stan <stanb@panix.com> wrote:

>I'm setting up a 7.1 machine thta will server as, among other things,
>a web serrver. I've installed Apache2. I have some directores in the
>Apache documnet directory that I wish to pasword protect. I have added
>the following clause to /usr/local/etc/apache22/httpd.conf. I have
>created a=20
>
><Directory "/usr/local/www/data"
>	Options Indexes FollowSymLinks
>	AllowOverride AuthConfig
></Directory>
>
>In the directories that I want protected, I have created .htaccess
>files that look like this:
>
>AuthName "Pictures"
>AuthType "Basic"
>AuthUserFile /usr/local/etc/apache22/users2
>require valid-user
>
>I have used htpasswd to create the users2 file.
>
>Ecerything works the way that I want _execpt_ the top level web page
>directory index, does not display the directories that have .htaccess
>files in them.
>
>What do I need to do to fix this?

Have you checked out this URL:

http://httpd.apache.org/docs/1.3/howto/auth.html

You might also consider posting your question on the Apache list.

--=20
Jerry
gesbbb@yahoo.com

There seems no plan because it is all plan.

	C.S. Lewis

--Sig_/rvbo_8NxGNE+OiOZKsFL=Az
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkleBToACgkQBvaKIJWWCO3uLwCfdnaa67MtKTM4Qw5kYUMebYYT
Ck8AnAo1FKokXonFMeBhQ90SRM1ZjK7S
=9guB
-----END PGP SIGNATURE-----

--Sig_/rvbo_8NxGNE+OiOZKsFL=Az--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090102071440.4b063e5a>