Update ssh-and-http documentation to remove some unnecessary steps and add a required variable #2

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant

bkero commented Oct 4, 2012

The documentation on the ssh-and-http page is slightly incorrect. A HTTP_ANON_USER variable is required in order to function, or else one gets this error:

[root@boris ~]# git clone http://git1.dmz.scl3.mozilla.com/git/testing.git
Cloning into 'testing'...
fatal: remote error: FATAL: invalid user ''

Additionally, with apache's ScriptAlias line, a '/var/www/git' directory is no longer required, so I removed references to that to make the documentation simpler.

I was also considering removing the $ENV{PATH}="newstuff" line reference because I got it working without that line, but I'm not sure if I will see unforeseen breakage because of it in the future.

bkero added some commits Oct 4, 2012

add HTTP_ANON_USER option to ssh-and-http documentation,
does not work without it, failing with:

    fatal: remote error: FATAL: invalid user ''

@bkero bkero closed this Sep 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment