httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Donker <>
Subject Re: [users@httpd] How to make a login form [OT]
Date Thu, 14 Oct 2004 20:08:50 GMT
Joshua Slive wrote:

> On Thu, 14 Oct 2004 21:46:44 +0200, Patrick Donker
> <> wrote:
>>Yes people, this is probably the wrong list to ask, but I have no clue
>>what list to post it on otherwise...
>>I want to make a loginform on my site. I need a script that process the
>>userid and pwd towards .htaccess. As I am a total perl or php noob I am
>>looking for an examplescript. I know, I can google it, but all I find is
>>all those fancy commercial scripts, which include all sorts of admin
>>stuff that I dont need/want. All I want it that somebody can enter his
>>credentials and, if correct, have them enter a .htaccess protected dir.
>>Any hints?
>>Sorry for the offtopic posting
> You don't need a login form.  The browser generates a prompt for the password.
> Just see any basic auth tutorial such as
> And, in fact, it is impossible to use a web form to get credentials
> for basic auth.  If you want to use a web form, you'll need to role
> your own auth and sessions using, for example, cookies.
> Joshua.

Yes I know that a login prompt is generated automatically, but I want to 
  do it from within my root index.html

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