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
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
Code:
perl -e 'print "user:";print crypt("password", SA);print "\n";'
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