Re: htaccess and a login "page"
by Bennett Haselton <bennett(at)peacefire.org>
|
Date: |
Wed, 26 Sep 2001 10:39:07 -0700 |
To: |
hwg-techniques(at)hwg.org |
In-Reply-To: |
servers |
|
todo: View
Thread,
Original
|
|
Unless your Web server software supports it (and I don't know of any that
do), you can't use a .htaccess file to generate an HTML page that the user
will see prompting them for their username and password. Normally, to get
an HTML page with username/password authentication, you'd need to create a
form on the server side and a server-side script to check that the username
and password are valid.
There may be Web development programs that can create these forms, and the
required server-side programs, automatically. I don't know of any, but I'm
pretty sure there's no way to do it with .htaccess.
-Bennett
At 11:30 AM 9/26/2001 -0400, Jeniffer C. Johnson wrote:
>Hello List,
>
>I don't know if this is possible or not, but here's what I'd like to
>accomplish. I've got a directory that is password protected using htaccess
>for members only. When a member clicks on a "login now" link, I would like
>the user to be presented with a nice tidy html page with the login form
>and a "submit" button, rather than the popup dialogue box for entering
>username and password. Is this doable? If so, how exactly do I accomplish
>it?
>
>TIA,
>Jeniffer
>
>
>Jeniffer C. Johnson
>OffLead Productions
>www.offlead.com
>
>###########################
bennett(at)peacefire.org http://www.peacefire.org
(425) 649 9024
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA