Author |
Message |
n_true
Junior WebHelper
Joined: 30 Jun 2004
Posts: 1
Location: Arkansas
|
Posted:
Wed Jun 30, 2004 3:12 am (20 years, 5 months ago) |
|
http://www.4webhelp.net/tutorials/misc/htaccess.php
You guys probably have had questions to this before but I looked over the forum for a little while and could not find anything so I though it would be ok for me to post a question.
I followed the tutorial and I had thought that I had did it correctly however when I try to sign in I enter the correct username and password however it will not allow me to enter.
The files I made look like the following:
.htpasswd:
guest1:16MFvXdVVHM3c
guest2:27HVMSXZxJ.iM
guest3:78RwNWlPc5Cog
.htaccess:
AuthName "Realm name"
AuthType Basic
AuthUserFile /var/www/html/.htpasswd
require valid-user
Basically when I enter the information into the password box that pops up when I go to my site it doesnt do anything after I press "ok." So im guessing its not matching my password or cannot find the password file although im not sure.
Please any help would be wonderful.
My current host is http://www.smoovenet.com/
Thanks!
-N |
________________________________ "What's in a name? That which we call a rose
By any other word would smell as sweet." |
|
|
|
SfCommand
Senior WebHelper
Joined: 10 Nov 2002
Posts: 143
Location: UK
|
Posted:
Fri Jul 02, 2004 9:22 pm (20 years, 5 months ago) |
|
|
|
|
sukalover
Junior WebHelper
Joined: 13 Jan 2005
Posts: 3
|
Posted:
Thu Jan 13, 2005 1:27 am (19 years, 11 months ago) |
|
I am having the same problem even when I tried what was suggested in the reply. The box pops up to put in user name and password but after I type it, the box just reappears without giving me access to the file.
I have tried everything I can think of, my files look like this:
.htaccess
AuthName "Realm name"
AuthType Basic
AuthUserFile /www/.htpasswd
<Limit GET POST>
require valid-user
</Limit>
.htpasswd
suka:76AiOf/Jz1226
Please can anyone help, greatly appreciated |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu Jan 13, 2005 6:13 am (19 years, 11 months ago) |
|
Is the .htpasswd file really located in /www ? |
________________________________
|
|
|
|
sukalover
Junior WebHelper
Joined: 13 Jan 2005
Posts: 3
|
Posted:
Thu Jan 13, 2005 6:21 am (19 years, 11 months ago) |
|
Sorry I managed to solve this issue now. the path was not correct much of it was missing that did not show up with FTP client.
Thanks for your pointer |
Last edited by sukalover on Thu Jan 13, 2005 6:37 am, edited 1 time in total |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Thu Jan 13, 2005 6:25 am (19 years, 11 months ago) |
|
|
|
|
sukalover
Junior WebHelper
Joined: 13 Jan 2005
Posts: 3
|
Posted:
Thu Jan 13, 2005 6:43 am (19 years, 11 months ago) |
|
Thanks for all your help daniel, now everything is working properly and I am a very happy man.
the php file was great |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Thu Jan 13, 2005 11:41 pm (19 years, 11 months ago) |
|
I can't believe there's a copyright notice on that script - it's one line of code |
________________________________ It's turtles all the way down... |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Fri Jan 14, 2005 7:58 am (19 years, 11 months ago) |
|
It's a standard template for all our scripts, as I've already stated |
________________________________
|
|
|
|
|
Page generation time: 0.14299 seconds :: 17 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme