{"thread":{"id":"19953","subject":"git push failed over http","startedAt":"2009-06-28T07:20:18Z","lastAt":"2009-06-28T13:47:56Z","messageCount":3,"participants":["Lynn Lin","Jakub Narebski","Tay Ray Chuan"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"117116","messageId":"82ec251f0906280020p71026a81w57018e9af4d39396@mail.gmail.com","threadId":"19953","inReplyTo":null,"subject":"git push failed over http","fromName":"Lynn Lin","fromEmail":"lynnos@tong-ji.org","sentAt":"2009-06-28T07:20:18Z","receivedAt":"2009-06-28T07:20:18Z","isPatch":false,"sender":{"key":"lynnos@tong-ji.org","avatar":null},"body":"Hi,all\n       I setup a git public repo (http) over apache2,however I can't\npush to remote public repository\n\n$ git push\nerror: Cannot access URL http://192.168.1.109/demo.git/, return code 22\nerror: failed to push some refs to 'http://192.168.1.109/demo.git'\n\nCould anyone give some ideas on this problem?\n\n\nThanks very much\n"},{"id":"117118","messageId":"m3y6rcwz5f.fsf@localhost.localdomain","threadId":"19953","inReplyTo":"82ec251f0906280020p71026a81w57018e9af4d39396@mail.gmail.com","subject":"Re: git push failed over http","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2009-06-28T08:11:55Z","receivedAt":"2009-06-28T08:11:55Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Lynn Lin <lynnos@tong-ji.org> writes:\n\n>        I setup a git public repo (http) over apache2,however I can't\n> push to remote public repository\n> \n> $ git push\n> error: Cannot access URL http://192.168.1.109/demo.git/, return code 22\n> error: failed to push some refs to 'http://192.168.1.109/demo.git'\n> \n> Could anyone give some ideas on this problem?\n\nFirst, you push over https, not http.  Second, you have to setup\nWebDAV on server for pushing via http.\n\nOther than that I cannot help, as I never set up git to push via http.\nBut I would check the documentation (\"Git User's Manual\" or \"Git\nComunity Book\" http://book.git-scm.com,... or perhaps best would be\nhowto/setup-git-server-over-http.txt)\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"117124","messageId":"be6fef0d0906280647o6ff292a7t334525f95cba41@mail.gmail.com","threadId":"19953","inReplyTo":"m3y6rcwz5f.fsf@localhost.localdomain","subject":"Re: git push failed over http","fromName":"Tay Ray Chuan","fromEmail":"rctay89@gmail.com","sentAt":"2009-06-28T13:47:56Z","receivedAt":"2009-06-28T13:47:56Z","isPatch":false,"sender":{"key":"rctay89@gmail.com","avatar":"https://avatars.githubusercontent.com/u/61553?v=4"},"body":"Hi,\n\nOn Sun, Jun 28, 2009 at 4:11 PM, Jakub Narebski<jnareb@gmail.com> wrote:\n> First, you push over https, not http.\n\nIt's possible to push over HTTP. Authentication methods include Basic\nand Digest.\n\n-- \nCheers,\nRay Chuan\n"}]}