httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K Anand" <kan...@sail-steel.com>
Subject Re: [users@httpd] Basic Authentication question
Date Thu, 12 May 2005 03:51:46 GMT
you didn't understand what I was asking...The config I have included is
working ..I have used htpasswd and everything is working fine....All I want
to know is how does  apache  know that I have already authenticated or not ?

Anand

----- Original Message ----- 
From: "Chris Winfield-Blum" <chris@leadingside.com>
To: <users@httpd.apache.org>
Sent: Thursday, May 12, 2005 9:14 AM
Subject: Re: [users@httpd] Basic Authentication question


> you will have to use the htpasswd tools located in your apache bin to
> create the password file. then you point that directory to that file: ie:
>
> /etc/httpd/conf/passwd/passwords
>
> This should do that you need :)
>
> K Anand said the following:
>
> >Hi all,
> >
> >I have a very basic question regarding authentication on apache...I have
in
> >my httpd.conf a section like below :
> ><Directory "/var/www/cgi-bin">
> >    AuthType Basic
> >    AuthName "By Invitaion Only"
> >    AuthUserFile /etc/httpd/conf/passwd/passwords
> >    Require valid-user
> >
> >    AllowOverride None
> >    Options ExecCGI
> >    Order allow,deny
> >    Allow from all
> ></Directory>
> >
> >So whenever a browser first sends a cgi-bin request, authentication is
done
> >by userid and password...Whenever subsequent requests come for cgi-bin,
> >authentication is not required provided the browser has not been closed.
How
> >is this done ?
> >
> >I know that this is not a problem but I would like to know just for my
> >information.
> >
> >Thanx
> >Anand
> >
> >
> >---------------------------------------------------------------------
> >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
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>


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