On Wed, 4 Apr 2001, Patrascu Eugeniu wrote:
>
>
> pai asa stiu cum se face. am vazut pe undeva (nu retin unde) ca cerea user
> si pass la un fisier.
<FilesMatch>
exemplu de .htaccess :
# .htaccess
AuthUserFile /directory_path/.users
AuthGroupFile /dev/null
AuthName Secret
AuthType Basic
<FilesMatch "\.(zip|tgz)$">
<Limit GET PUT POST>
Require valid-user
</Limit>
</FilesMatch>
uita-te si la www.apache.org la directive ...
> > cel mai frumos ar fi sa pui intr-un director paginile alea si pe urma in
> > directorul ala pui un .htaccess ceva de genul :
> >
> > order deny,allow
> > allow from all
> >
> > AuthType Basic
> > Require valid-user
> > AuthName "Diablo's private staff :-)"
> > AuthUserFile "<calea_spre_fisierul_cu_parole"
> >
> > Pentru adaugat useri te joci cu htpasswd
> >
> >
> > On Wed, 4 Apr 2001, Patrascu Eugeniu wrote:
> >
> > ->>
> > ->>
> > ->>Salu` !
> > ->>
> > ->>
> > ->> Am si eu o problema: Cum fac apache-ul sa-m ceara un user si un
> > ->>pass atunci cand este ceruta o anumita pagina dintr-un director ? (nu
> > ->>cand este accesat un director).
> > ->>
> > ->>EX: Am un site in care am mai multe pagini iar vreo doua dintre ele
> > ->>trebuie sa fie accesate doar de anumiti useri.
> > ->>
> > ->>
> > ->>Eugen
> > ->>
> > ->>---
> > ->>Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> > ->>unsubscribe from this list.
> > ->>
> >
> > --
> >
> >
> > ...they said that we are thinking in bits , but ...
> >
> > ---
> > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> > unsubscribe from this list.
> >
> >
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
----
You're being followed.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.