httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nelson Goforth <>
Subject Re: [users@httpd] Basic HTTP authentication
Date Sat, 25 Jan 2003 17:28:53 GMT
You should check the mod_auth info at for 
details.  You're likely going to be better off using .htaccess files 
within the directory itself, unless somehow users have access to those 

Basically you need to set up a list of users and passwords via htpasswd 
in some non-user accessible directory (as it appears you've done).  The 
username refers to those names (not a string like "Ask for...")


On Saturday, January 25, 2003, at 10:17  AM, web man wrote:

> Hi Guys,
> I wondered if anyone could help me in here.
> I am new to apache server configuration.
> I would like to configure apache server to give
> access to some files based on the usernames and passwords.
> I got stucked in the middle of the configuration.
> This is what I have done so far in the httpd.con file.
> <Directory "c:/inetpub/wwwroot/http_cookie">
> AuthUserFile c:/inetpub/wwwroot/http_cookie
> AuthName "Enter Username and Password"
> AuthType Basic
>  <Limit GET POST>
>  require valid-user
> </Limit>
> </Directory>
> Please I wondered if anyone could tell exactly
> what I need to do.
> I used apache server 1.3.26 on win98.
> Thanks
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now

          Nelson GOFORTH 				Lighting for Moving Pictures

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message