WebFaction
Community site: login faq

I am trying to setup a VCS on my account. Went with Subversion first, which I was familiar with, but our mission is a little idiosyncratic and it became evident SVN would not cut it. So I looked for alternatives, and Git looks promising. So have setup the Git webapp (knowing nada about Git before waking up this morning) am setting up a client as we speak...

But one thing that struck me, is there does not appear to be a builtin http filetree browser at the same domain the way there is with Subversion. My efforts are targeting a non tech savvy audience, and I would feel a lot better if there was at minimum a 1:1 relationship there domain wise.

I see there are a number of alternatives for providing a web browser interface. I have no problem setting up one of those. However the website -> webapp setup looks like it might get in the way here. Because the git app would be parked at the same place as the web app. I just have a feeling that won't fly with the console as is. So I'm looking for a little direction.

Possibly prematurely as is my usual habit. Thanks :)

Addendum: Is Git super secure btw? Eg. if I make add a user to .htpasswd, can they do more via SSH than just access the repos? And can the .htaccess file be used to limit user access to specific repos? I don't want to give all username/password pairs access to the same repos. That would kinda defeat the purpose of having more than one.

Also the guide says comment out the .htaccess lines for anonymous read. But what does that leave for write? It seems like the authentication is being disabled altogether.

asked 15 Feb '11, 10:39

Mick
1811
accept rate: 0%

edited 15 Feb '11, 12:00


Ah never mind. There is a web interface there now. Just took a while to kick in I suppose. Good thing the client I'd setup kicked me to it. Still could use some general help in the Git dept. nonetheless.

permanent link

answered 15 Feb '11, 12:04

Mick
1811
accept rate: 0%

Our official docs are here,

http://docs.webfaction.com/software/git.html

SSH and .htaccess are different protocols. Defining .htaccess rules does not open access for SSH, only HTTP.

permanent link

answered 15 Feb '11, 12:08

johns
5.4k312
accept rate: 23%

I see, I think I've followed everything to the letter. But still can't manage to push over http. The initial clone and local changes went fine. There is a web interface at http://vcs.domain.net/.

git.exe push --progress "origin" master:master

error: Cannot access URL http://vcs.domain.net/repos/proj.git/, return code 22 fatal: git-http-push failed

(15 Feb '11, 13:33) Mick

Btw, I think when I cloned things, I had commented out the suggested lines in the .htaccess file. I later put them back to try to push things. That added a username/password prompt on push, but I'm not sure if it helped much else.

I added a user to .htpasswd and added the credentials to the repo config file via "git config". Also followed the "git config http.receivepack true" direction. Which I admit, I missed at first.

(15 Feb '11, 13:36) Mick

You may submit a support ticket so we can look at the account directly.

(15 Feb '11, 15:15) johns
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×111
×1
×1

question asked: 15 Feb '11, 10:39

question was seen: 3,136 times

last updated: 15 Feb '11, 15:15

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM