[NBLUG/talk] .htaccess - how does it work?
Bill Kendrick
nbs at sonic.net
Fri Aug 1 19:09:00 PDT 2003
On Fri, Aug 01, 2003 at 06:33:20PM -0700, Doug Palmer wrote:
>
> Question: Does the auth/reply use a different port than the normal http
> 80? Or should I look somewhere else?
If there's no username/password attached to the HTTP request, Apache
will respond with a 300-and-something (I think) error with a request
to authenticate.
Browsers typically ignore the HTML that comes back, and instead pop-up
a login window. When you submit it, it tries again, this time sending the
username and password.
Any OTHER requests WITHIN that space (e.g., other files in the dir; subdirs)
should all get the successful username/password sent along with it.
It's kind of like:
Hey, give me that page.
Who the hell are YOU?
Ah, sorry. Hey, give me that page. I'm Bill!
Here's the page.
Hey, give me this other page. I'm Bill! [ so you don't have to login
for every embedded image,
every link, etc. :^) ]
Here's the page.
...and so on...
-bill!
--
bill at newbreedsoftware.com Got kids? Get Tux Paint!
http://newbreedsoftware.com/bill/ http://newbreedsoftware.com/tuxpaint/
More information about the talk
mailing list