You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gerard <ge...@seibercom.net> on 2006/11/30 16:29:34 UTC

[users@httpd] User & Password in httpd.conf file

I have a directory that I needs to be password protect and limited to
only certain users. Is it possible to place all of this information into
the httpd.conf file, or do I need a separate  'password' file?


-- 
Gerard
gerard@seibercom.net


---------------------------------------------------------------------
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


Re: [users@httpd] User & Password in httpd.conf file

Posted by Joshua Slive <jo...@slive.ca>.
On 11/30/06, Gerard <ge...@seibercom.net> wrote:
> I have a directory that I needs to be password protect and limited to
> only certain users. Is it possible to place all of this information into
> the httpd.conf file, or do I need a separate  'password' file?

You need a separate file:
http://wiki.apache.org/httpd/Recipes/PasswordBasicAuth
http://httpd.apache.org/docs/2.2/howto/auth.html

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