|
Author |
Message |
RichieGraham
Junior WebHelper
Joined: 24 May 2003
Posts: 1
Location: Devon, UK
|
Posted:
Sat May 24, 2003 3:22 pm (20 years, 11 months ago) |
|
OK... I'm using a .htaccess file to password protect part of my site but it doesn't work. I'm pretty sure the problem is where the .htpasswd file is, but I've no idea where to point it to in the .htaccess file (whether I need the complete URL, or whether it's dependant on the site base directory, or whether it's dependant on the folder where the .htaccess file is.)
Like I say, this is simple stuff, but I can't seem to find an answer anywhere!
Hope someone can help!
Richie |
|
|
|
|
SfCommand
Senior WebHelper
Joined: 10 Nov 2002
Posts: 143
Location: UK
|
Posted:
Sat May 24, 2003 3:27 pm (20 years, 11 months ago) |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Sat May 24, 2003 3:43 pm (20 years, 11 months ago) |
|
Code: | AuthType Basic
AuthName "moo!"
AuthUserFile /home/user/passwd
Require valid-user |
it should look something like that... |
________________________________ It's turtles all the way down... |
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.174061 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |