[NBLUG/talk] .htaccess - how does it work?

Eric Eisenhart eric at nblug.org
Sat Aug 2 01:26:01 PDT 2003


On Fri, Aug 01, 2003 at 06:33:20PM -0700, Doug Palmer wrote:
> User requests a web page.
> Apache finds access controls for that page.
> Apache sends an auth request to client
> Client replies with username/password.
> Apache sends page to client (assuming auth is good)
>  
> Question: Does the auth/reply use a different port than the normal http
> 80? Or should I look somewhere else?

It's all on the single port.  you probably want to look somewhere else.

It's more like:
- User requests a web page
- Apache finds access controls for that page.
- Apache returns a placeholder page with a 401 status
- Client sends a new request for web page with username+password
- Apache sends page to client with status 200 (if auth good); or returns 401
- Client sends followup requests to the same place with same username+passwd
-- 
Eric Eisenhart
NBLUG Co-Founder & Vice-President Pro Tempore
The North Bay Linux Users Group
http://nblug.org/
eric at nblug.org, IRC: Freiheit at freenode, AIM: falschfreiheit, ICQ: 48217244



More information about the talk mailing list