git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ddw_music <jamshark70@gmail.com>
To: git@vger.kernel.org
Subject: (osx 10.4.11) can't push from linux to Apache on mac: can't access location
Date: Sat, 12 Jun 2010 17:48:26 -0700 (PDT)	[thread overview]
Message-ID: <1276390106819-5173157.post@n2.nabble.com> (raw)


Apologies if this has been covered in the past -- I searched the nabble
archives but didn't find the answer.

I'm new to git, and wanted to synchronize repositories between my main
machine (OSX 10.4.11) and satellite net book (puredyne 9.10, based on ubuntu
karmic). I've gotten as far as being able to get the directory listing in
Firefox on the Mac (same machine where Apache is running) at
http://ip.address/~username/git/kc ('git/kc' is the bare repository under
~/Sites/).

I tried to follow the directions in setup-git-server-over-http.txt:

- added at the end of the load module section of httpd.conf:

LoadModule dav_module libexec/httpd/libdav.so

- added at the end of the add module section of httpd.conf:

AddModule mod_dav.c

- added at the end of the file, just above the final "include":

DAVLockDB "/usr/local/apache2/temp/DAV.lock"

  <Location /git/kc>
     DAV on
     AuthType Basic
     AuthName "Git"
     AuthUserFile /usr/local/apache2/conf/passwd.git
     Require valid-user
  </Location>

- chmod -R ugo+w ~/Sites/git

git clone works.

git push... fails. The remote machine says that it couldn't access the
location. Apache's access log shows:

"PROPFIND /~dewdrop/git/kc/ HTTP/1.1" 404 288

404? The folder most certainly exists.

Anyway, I'm confused. I'm not an expert in Web server configuration, would
appreciate some advice.

Thanks!
James
-- 
View this message in context: http://git.661346.n2.nabble.com/osx-10-4-11-can-t-push-from-linux-to-Apache-on-mac-can-t-access-location-tp5173157p5173157.html
Sent from the git mailing list archive at Nabble.com.

             reply	other threads:[~2010-06-13  0:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-13  0:48 ddw_music [this message]
2010-06-13  5:23 ` (osx 10.4.11) can't push from linux to Apache on mac: can't access location Tay Ray Chuan
2010-06-13  6:35   ` ddw_music
2010-06-13  7:20     ` Tay Ray Chuan
2010-06-13 10:28       ` ddw_music
2010-06-13 10:44         ` Jakub Narebski
2010-06-13 11:56           ` ddw_music
2010-06-13 12:38             ` Jakub Narebski
2010-06-17 22:26   ` mobi phil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1276390106819-5173157.post@n2.nabble.com \
    --to=jamshark70@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).