Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk
Welcome to the GeekTalk Webmaster Discussion Forums from GeekVillage.com

Click Here To Register. It's Free!

Go Back   geek/talk: Web publishing business discussion > YOUR CREATION: Building & Maintaining A Web Site > Web Design and Webmaster Issues
User Name
Password
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-20-2001, 11:00 PM   #1
pete57
Registered User
 
Join Date: Nov 2000
Location: Montreal, Canada
Posts: 155
Question Password Protected

Hi, I'm trying to set up a password protected area:

Now, I made my .htaccess file and installed it and it seems to work (I get a password request when trying to access the directory). To make my .htpasswd file, I simple took a text file and entered these lines:

fred:WhSK1DE7N8.9.
ethel:hQty93EV.lG56
ricky:JeB31vf8PSPTg
lucy:EyYXWk73QCRhU
pete57:satan

Now I was expecting for these user names and password to work now when I sent the .htpasswd file to the server but it doesn't .... should the .htpasswd file contain other commands or stuff ?
pete57 is offline   Reply With Quote
Old 01-21-2001, 08:29 AM   #2
pete57
Registered User
 
Join Date: Nov 2000
Location: Montreal, Canada
Posts: 155
Unhappy

anyone ?
pete57 is offline   Reply With Quote
Old 01-22-2001, 07:07 AM   #3
gallery
Registered User
 
Join Date: Aug 1999
Location: Belgium
Posts: 691
Unhappy

Hi Pete57,

Follow this :

Delete your current .htpasswd file

Then you need to create the .htpasswd file and add users. Type the following at the command line (you will need to use your telnet account):

/usr/sbin/htpasswd -c .htpasswd new_user
(htpassword might be somewhere else than in /usr/sbin/)

You'll be prompted to enter, then confirm the new user's password.

To add additional users, just type the following at the command prompt:

/usr/bin/htpasswd .htpasswd new_user

gallery is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Your Password ***** MattC Web Design and Webmaster Issues 6 02-20-2005 10:03 PM
Password Protected Areas w/PHP BobDoleX Web Development - Programming / Coding 6 07-28-2003 01:53 PM
Password protected Chat software WildComputer Web Design and Webmaster Issues 2 10-20-2001 04:03 PM
Remote Password CGI WildComputer Web Design and Webmaster Issues 1 10-28-1999 10:19 AM
password protecting website Pookie Web Design and Webmaster Issues 1 10-14-1999 02:33 PM

Please support our advertisers. They ensure our survival.

All times are GMT -5. The time now is 11:32 AM.


GeekVillage.com is copyright © 1998-2015 Curiosity Cave - Science gifts for clever kids. All rights reserved.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.