Re: .htaccess help!
Gracias, si no te molesta ayudarme un poco mas lo podemos hacer en
espanyol...
Use htpasswd para crear .htaccess. A ver si entendi, debo poner en ese
archivo las lineas que mencionaste (AuthType Basic, etc)???
Es necesario hacerla cambios a /etc/apache/access.conf?
Gracias!
On Tue, 16 Oct 2001, alberto_rodriguez_lists@altavista.com wrote:
>
> Well,
>
> A example in .conf or .htaccess with only user authentification (no group):
>
> AuthType Basic
> AuthName "Restricted Access"
> AuthUserFile /home/web/etc/sdjhsfdi
> Require valid-user
>
> Just must be sure that Web-server (so the ID or GID of the WebServer
> process) have access to the sdjhsfdi file for reading (and all tree just
> before the file).
>
> The sdjhsfdi file must be more or less so:
>
> User1:PASSWD_CRYPTED
> User2:PASSWD_CRYPTED
> User3:PASSWD_CRYPTED
> ...
>
> crypted just with crypt (use mkpasswd).
> Anyway i can always use the 'htpasswd' application which go with apache and
> create password files asking for for a user, a passwd etc...
>
> Seeya.
>
> Note: sorry, i must learn so much english yet.
>
> At 07:06 16/10/2001 -0500, Alexander Wallace wrote:
> >Hello there, I hope you can excuse my ignorance in these matters...
> >
> >In order to protect certain html dirs with a password, I was told by a
> >good member of this list to make sure that I had the mod_auth enabled in
> >httpd.conf. Which I do.
> >
> >Thend I was told that I need an .htaccess file which I created with
> >htpasswd in /home/myusername/.htaccess...
> >
> >But when i create the file and look for
> >http://www.myserver.com/~myusername i get:
> >
> >Internal Server Error
> >The server encountered an internal error or misconfiguration and was
> >unable to complete your request...
> >
> >Can someone give me a hand here as to what i'm missing?
> >
> >Thanks!
> >
> >
> >--
> >To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> >with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to:
- References:
- Re: .htaccess help!
- From: "alberto_rodriguez_lists@altavista.com" <alberto_rodriguez_lists@altavista.com>