1. 27 4月, 2013 2 次提交
  2. 25 4月, 2013 6 次提交
  3. 23 4月, 2013 15 次提交
  4. 18 4月, 2013 1 次提交
  5. 17 4月, 2013 1 次提交
  6. 16 4月, 2013 4 次提交
  7. 15 4月, 2013 2 次提交
  8. 14 4月, 2013 1 次提交
    • J
      doc/http-backend: match query-string in apache half-auth example · b0808819
      Jeff King 提交于
      When setting up a "half-auth" repository in which reads can
      be done anonymously but writes require authentication, it is
      best if the server can require authentication for both the
      ref advertisement and the actual receive-pack POSTs. This
      alleviates the need for the admin to set http.receivepack in
      the repositories, and means that the client is challenged
      for credentials immediately, instead of partway through the
      push process (and git clients older than v1.7.11.7 had
      trouble handling these challenges).
      
      Since detecting a push during the ref advertisement requires
      matching the query string, and this is non-trivial to do in
      Apache, we have traditionally punted and instructed users to
      just protect "/git-receive-pack$".  This patch provides the
      mod_rewrite recipe to actually match the ref advertisement,
      which is preferred.
      
      While we're at it, let's add the recipe to our test scripts
      so that we can be sure that it works, and doesn't get broken
      (either by our changes or by changes in Apache).
      Signed-off-by: NJeff King <peff@peff.net>
      Acked-by: NJakub Narębski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b0808819
  9. 13 4月, 2013 8 次提交