custom login box with .htaccess protection?

KydLynx

Senior member
Mar 18, 2001
425
0
0
I currently have an .htaccess password protected directory.

I need to make a generic login/password box on an html page for the login instead of the default brower login popup.

Is this possible? It needs to be secure as well.

Thank you!
 

tfinch2

Lifer
Feb 3, 2004
22,114
1
0
If you don't mind me asking, why a custom box?

Oh, and you'll have to use a script to do it.
 

KydLynx

Senior member
Mar 18, 2001
425
0
0
my client wants to have the more "professional" look for their member login.

where can i find a reference for this script. PHP is preferred.
 

KydLynx

Senior member
Mar 18, 2001
425
0
0
this is what I have for the htaccess currently.


# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
require valid-user
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthType Basic
AuthName name
AuthUserFile /path/_vti_pvt/filename.pwd
AuthGroupFile /path/_vti_pvt/filename.grp


i inherited maintence to this site, btw :)
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
AFAIK, you can't use anything else but the popup using Apache's authentication. This means that you have to actually remove the .htacess and implement a PHP authentication system. Check hotscripts.