rjneuzel
02-24-2007, 02:33 AM
1) Script Title:
Password Authentification
2) Script URL (on DD):
http://tools.dynamicdrive.com/password/
3) Describe problem:
I am using Dreamweaver MX and I am trying to create so that when a user goes to my webpage they have to enter a username and password to view the rest of the site.
I went to the above script and created in notepad a file named .htaccess and inside this text file is the following code:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile www.neuzel.com/.htpasswd
AuthGroupFile /dev/null
require valid-user
I then created in notepad another text file called .htpasswd and inside that text file is the following text:
Rob:wEELa87Gj.gRg
__________
Part of my problem is I am not sure what to put for this line:
AuthUserFile www.neuzel.com/.htpasswd
my website is www.neuzel.com. It is being hosted by GoDaddy so I am really not sure what my exact path is. I know it should look something like: /home/site_name/. But I am not sure what should go in the "home" spot.
I think in the site_name should be "www.neuzel.com" Is that right??
Ok, after I created these two text files I uploaded them to my GoDaddy account. Am I suppose to create any type of form fields for them. I thought I could create these files and then it would be like a Windows prompt???
Thank you for your help. I do not know very much eccept the basics of HTML coding. But just a little of that. So long-drawn-out explinations are great! :)
Thanks,
rjenuzel
Password Authentification
2) Script URL (on DD):
http://tools.dynamicdrive.com/password/
3) Describe problem:
I am using Dreamweaver MX and I am trying to create so that when a user goes to my webpage they have to enter a username and password to view the rest of the site.
I went to the above script and created in notepad a file named .htaccess and inside this text file is the following code:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile www.neuzel.com/.htpasswd
AuthGroupFile /dev/null
require valid-user
I then created in notepad another text file called .htpasswd and inside that text file is the following text:
Rob:wEELa87Gj.gRg
__________
Part of my problem is I am not sure what to put for this line:
AuthUserFile www.neuzel.com/.htpasswd
my website is www.neuzel.com. It is being hosted by GoDaddy so I am really not sure what my exact path is. I know it should look something like: /home/site_name/. But I am not sure what should go in the "home" spot.
I think in the site_name should be "www.neuzel.com" Is that right??
Ok, after I created these two text files I uploaded them to my GoDaddy account. Am I suppose to create any type of form fields for them. I thought I could create these files and then it would be like a Windows prompt???
Thank you for your help. I do not know very much eccept the basics of HTML coding. But just a little of that. So long-drawn-out explinations are great! :)
Thanks,
rjenuzel