httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Reposting of Question: Setting Up User Authentication For An Enti re Site
Date Fri, 15 Aug 2003 17:24:00 GMT

On Fri, 15 Aug 2003, Kaplan, Andrew H. wrote:
> I am going to be setting up user authentication for a single site on our web
> server. The idea is when a user brings up the website on his/her browser,
> he/she will be immediately prompted for a password. Once that is provided, the
> user will have access to the various sections of the site that have
> been set up. I was planning on using the .htaccess file for the passwords, and
> configuring the httpd.conf file so that password authentication will take
> place at the root of the Documents directory.
>
> FYI:
> Operating System is Mandrake Linux 9.0
> Apache version is 2.0.46, and is located in /usr/local/apache
> Root directory for documents (including .htm and .html files but not .cgi's) is
> /var/www/Documents
>
> Is this the way to go? Thanks.

Did you read:
http://httpd.apache.org/docs-2.0/howto/auth.html

In general, directives should not be placed in .htaccess unless you really
need them there.  If you really want to protect everything on the site,
put your auth directives in httpd.conf inside a <Location /> </Location>
section.

Joshua.

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message