|
| |
|
|
yellowbird
Posts: 15 Joined: 12/28/2007 Status: offline
|
password protection - 5/26/2008 13:32:44
I have a site on which i wish to password protect a page. I have created 2 files; htaccess and htpasswd which were save in my root directory as htaccess.htm and htpasswd.htm Now, do i upload them to the server as such or should i be inserting the codes in that particular page? Thanking you in advance Ron
|
|
|
|
treetopsranch
Posts: 1058 From: Cottage Grove, OR, USA Status: offline
|
RE: password protection - 5/26/2008 18:11:32
They go in the directory in which your passworded page resides.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
yellowbird
Posts: 15 Joined: 12/28/2007 Status: offline
|
RE: password protection - 5/27/2008 8:45:54
Thanks for your reply, but if you read my post that is what i have done. Both files are in the root directory.
|
|
|
|
treetopsranch
Posts: 1058 From: Cottage Grove, OR, USA Status: offline
|
RE: password protection - 5/27/2008 11:44:21
quote:
htaccess and htpasswd which were save(ed) in my root directory as htaccess.htm and htpasswd.htm That is incorrect. They must be .htaccess and .htpaswd. No extension.
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
treetopsranch
Posts: 1058 From: Cottage Grove, OR, USA Status: offline
|
RE: password protection - 5/27/2008 11:53:36
You can go here for more info: http://www.javascriptkit.com/howto/htaccess.shtml Just curious, doesn't Expression have a help file on how to password a page or directory?
_____________________________
Don from TreeTops Ranch, Oregon "I've got a taste for quality and luxury"
|
|
|
|
BobbyDouglas
Posts: 5469 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: password protection - 5/27/2008 13:56:12
Just being picky... the .htpaswd file should be below the visible folders/files (thus below the public_html or www folders). That file contains all of the encrypted usernames/passwords, so it isn't good to have visible online.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|