Adding Authentication The simplest way to enable authentication with Apache is to create a password file. Use the htpasswd program to create the password file: $ htpasswd -c /somewhere/trac.htpasswd admin New password: Re-type new password: Adding password for user admin After the first user, you dont need the "-c" option anymore: $ htpasswd /somewhere/trac.htpasswd john New password: Re-type ne..