Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

book errata #122

Closed
jazzon opened this issue Oct 28, 2014 · 1 comment · Fixed by #432
Closed

book errata #122

jazzon opened this issue Oct 28, 2014 · 1 comment · Fixed by #432

Comments

@jazzon
Copy link

jazzon commented Oct 28, 2014

In section 4.6 (Smart HTTP Server Setup) You have an error:

This code specifies instructions for the auth_basic modual for apache (which provides AuthType Basic):

<LocationMatch "^/git/.*/git-receive-pack$">
AuthType Basic
AuthName "Git Access"
AuthUserFile /opt/git/.htpasswd
Require valid-user
"</LocationMatch">

But this instruction just below it is for use with the auth_digest module (Providing AuthType Digest);

htdigest -c /opt/git/.htpasswd "Git Access" schacon

The second element of code should be
htpasswd ... instead of htdigest.

@ben
Copy link
Member

ben commented Oct 28, 2014

Would you like to submit a pull request? Just go to the file where the error is, and click the pencil icon at top right. Here's the help file on pull requests if you need more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants