Hi! I have installed and configured Apache2 on Solaris 8. For the password protection, I created passwords using crypt() as,
I have done password authentication within the httpd.conf as below,
The password authentication works fine, but passwords with characters only, less than or equal to eight are taken into consideration by Apache i.e., If I have my password as 123456789, I get authenticated even if I give 12345678 . Only 8 chars are recognized.
How can I rectify this or is this a default property of apache?
Code:
perl -e 'print "06155:";print crypt("zhuiwra6155", SA);print "\n";'
I have done password authentication within the httpd.conf as below,
Code:
<Directory "/export/home/secret">
Options FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "Restricted"
AuthUserFile /export/home/passwd/.htpasswd
Require valid-user
</Directory>
How can I rectify this or is this a default property of apache?