Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password authentication steps in Apache 2

Status
Not open for further replies.

rishath

Programmer
Jan 20, 2004
59
US
I have just now successfully (after so much trouble, my previous posts would say so,) installed Apache 2 on my Solaris 8. Apache is running fine, displaying the index page. I want to set password restriction on my Document root (eg., /export/home/user) and I would like to use .htaccess file for that. Also, I have a simple perl statement
Code:
perl -e 'print "user:";print crypt("password", SA);print "\n";'
which creates the username and password that I can store it in my .htpasswd file. I couldn't fully comprehend the Apache tutorial on
Can anyone walk me thru the modifications I should do to my httpd.conf file and on creating .htpasswd and .htaccess files?
Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top