httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Ruiz IbaƱez <flr...@comunet.es>
Subject Re: Directory Security
Date Tue, 05 Mar 2002 15:33:10 GMT
In the apache/bin directory you have and command, htpasswd wich you create a
file containing the username a password. See the sintaxis, its easy to
config.

Then you use apache directives to limit access. Inside <directory..>
</directory> for example:

AuthUserFile <path to file created by .htpasswd>
AuthName "<Title will appear in validating pop-up>"
AuthType Basic <Type of autentication>
require user <user to login>

Also, you can write this line into a .htaccess file and put it in physically
in the directory you wnat protect. Use the directive AllowOverride to
activate this.


Sorry my poor english.

----- Original Message -----
From: "Diego, Emil" <ediego@exchange.sba.miami.edu>
To: "Apache User Mailing List (E-mail)" <users@httpd.apache.org>
Sent: Tuesday, March 05, 2002 4:23 PM
Subject: Directory Security


> Hello,
>
> I am running apache 1.3 on redhat linux 7.2.  My question is this.
> How do i setup a directory on the website that requires a user to supply a
> username and password.  And where do I have to setup that account?
>
>
>
> Emil Diego
> Web Coordinator
> University of Miami School of Business
> ediego@miami.edu
> ph: 305.284.5449
> fx: 305.284.3404
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message