git/list[1] front-page[2] threads[3] people[4] search[5] about
 

(osx 10.4.11) can't push from linux to Apache on mac: can't access location

From
Dddw_music <jamshark70@gmail.com>
Date
Jun 13, 2010, 00:48 UTC
Message-ID
<1276390106819-5173157.post@n2.nabble.com>

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.
Next: Tay Ray Chuan
Message 1 of 9 in “(osx 10.4.11) can't push from linux to Apache on mac: can't access location”
  1. ddw_musicJun 13, 2010
  2. Tay Ray ChuanJun 13, 2010
  3. ddw_musicJun 13, 2010
  4. Tay Ray ChuanJun 13, 2010
  5. ddw_musicJun 13, 2010
  6. Jakub NarebskiJun 13, 2010
  7. ddw_musicJun 13, 2010
  8. Jakub NarebskiJun 13, 2010
  9. mobi philJun 17, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.