.htaccess password and username

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

.htaccess password and username

Post by user___ »

Hi guys,
I would like to ask you how to create .htaccess file for user authentication. I need only one username and password and I will not change them. I use a remote server running on Apache 2.x.x.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

Maybe you're looking for this?
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Reply

Post by user___ »

Is not there a way only with .htaccess file?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Search for "htpasswd tutorial" ;)
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Reply

Post by user___ »

I have found some but it can not authenticate me. I wonder whether it is possible the encrypting of the server to be different from the tutorial's one.

Do you have an idea is it possible?
Post Reply