git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SSL + mod_dav + Git
@ 2008-07-29 11:53 Chris Hart
  2008-07-29 17:32 ` Sean Estabrooks
  2008-08-11  9:44 ` Matthieu Moy
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Hart @ 2008-07-29 11:53 UTC (permalink / raw)
  To: git

Hi guys, I've been up all night on this one and after exhaustive
Googling and checking the sleepy #git, decided to check with the
mailing list! Here's the current problem:

Git is working perfectly over SSH. The server is Ubuntu, and doing
cadaver https://serveraddress/.git successfully authenticates using
the passwd file I provided to Apache. Basically I've done everything
from Rutger's guide
(http://www.kernel.org/pub/software/scm/git/docs/v1.4.4.4/howto/setup-git-server-over-http.txt)
except for the ~/.netrc stuff.

However, once authenticated to the .git folder (cadaver through
https), basic commands give strange errors or 404s. Ls throws "Listing
collection `/.git/': failed:
Could not read status line: Secure connection truncated" and cd
/to/some/legitimate/directory throws "Could not access /.git/dir/ (not
WebDAV-enabled?):
404 Not Found." Oddly tab-completion for cd suggests the contents of
the directory (although I'm cadaver-ing from localhost). Same results
remotely in a browser: authenticates successfully and gives 404s.

Trying git clone https://server/.git throws:

"warning: remote HEAD refers to nonexistent ref, unable to checkout"

...despite the working certificate and authorization. Any ideas?
Thanks infinity and one to anybody with attention for this!

Chris


Note: Apache owns all the files here so I really hope it's not a
permissions thing.

------------------ Git version info --------------------
server> git version 1.5.4.3
remote-laptop> git version 1.5.6.4
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SSL + mod_dav + Git
  2008-07-29 11:53 SSL + mod_dav + Git Chris Hart
@ 2008-07-29 17:32 ` Sean Estabrooks
  2008-08-11  9:44 ` Matthieu Moy
  1 sibling, 0 replies; 3+ messages in thread
From: Sean Estabrooks @ 2008-07-29 17:32 UTC (permalink / raw)
  To: Chris Hart; +Cc: git

On Tue, 29 Jul 2008 07:53:08 -0400
"Chris Hart" <chris@christopherhart.ca> wrote:

> However, once authenticated to the .git folder (cadaver through
> https), basic commands give strange errors or 404s. Ls throws "Listing
> collection `/.git/': failed:
> Could not read status line: Secure connection truncated" and cd
> /to/some/legitimate/directory throws "Could not access /.git/dir/ (not
> WebDAV-enabled?):
> 404 Not Found." Oddly tab-completion for cd suggests the contents of
> the directory (although I'm cadaver-ing from localhost). Same results
> remotely in a browser: authenticates successfully and gives 404s.

Hi Chris,

Unfortunately this won't be overly helpful, but what you're describing
is not a problem with Git.  There appears to be some problem with
your Apache setup.  If nobody on the list here offers a solution, you might
want to try the apache mailing list or #apache.

Sean

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SSL + mod_dav + Git
  2008-07-29 11:53 SSL + mod_dav + Git Chris Hart
  2008-07-29 17:32 ` Sean Estabrooks
@ 2008-08-11  9:44 ` Matthieu Moy
  1 sibling, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2008-08-11  9:44 UTC (permalink / raw)
  To: Chris Hart; +Cc: git

"Chris Hart" <chris@christopherhart.ca> writes:

> However, once authenticated to the .git folder (cadaver through
> https), basic commands give strange errors or 404s. Ls throws "Listing
> collection `/.git/': failed:

This one is not a git problem, as mentionned in another message.
You'll get better chance on an apache-related list I think.

> Trying git clone https://server/.git throws:

This actually uses plain http, not webdav itself. push will be the
next step, and will be the one using webdav.

> "warning: remote HEAD refers to nonexistent ref, unable to checkout"

That can mean you need a git update-server-info on the server.

-- 
Matthieu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-11  9:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 11:53 SSL + mod_dav + Git Chris Hart
2008-07-29 17:32 ` Sean Estabrooks
2008-08-11  9:44 ` Matthieu Moy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).