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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]