To migrate your existing .htaccess information to the file authentication database in the Sun Java System Web Server 6.1:
Copy your .htaccess userfile database to server-root/server-instance/config/userfile.
Copy your htaccess groupfile database to server-root/server-instance/config/groupfile
The user file format is as follows:
#user:password
The group file format is as follows:
#group1:user1 user2 #group2:user3 user4
Member names are separated by spaces.
When userfile and groupfile have the same file name, they are combined. each line of the combination follows the syntax shown below:
#user:password:group1,group2
Columns are separated by colons.