authentication

authentication

am 10.07.2007 12:22:18 von SuperSlueth

Hello

I'm new to apache.
I want to set up authentication for some web pages as follows

web root allow admin

sub directory1 allow admin and user1

sub directory2 allow admin and user2


can I use .htaccess to do this or is there a better way.

can anyone point me to some simple step for step docs that explain how
to do this


Many thanks in advance

Re: authentication

am 11.07.2007 17:32:40 von kwan

On Jul 10, 5:22 am, Super Slueth wrote:
> Hello
>
> I'm new to apache.
> I want to set up authentication for some web pages as follows
>
> web root allow admin
>
> sub directory1 allow admin and user1
>
> sub directory2 allow admin and user2
>
> can I use .htaccess to do this or is there a better way.
> or
> can anyone point me to some simple step for step docs that explain how
> to do this
>
> Many thanks in advance

You have to set the authentication for each individual directory, you
will get more detail tutorial with the Apache doc online on how to
apply the authentication method.