ericpaulbishop/redmine_git_hosting — Issue #103: Git Smart HTTP only working if "HTTPS and HTTP" is selected
Author: rnuno
Created: 2011-10-12 14:16:35+00:00
State: open

On "Repository Options" i have the following:

1. SCM: Git
2. Git Daemon: Enable
3. Git Smart HTTP: HTTPS and HTTP
4. Notify CIA.vc: Disable

With this options If i try to access the repo remotely by HTTP or HTTPS i get:

```
rnuno@RNUNO /d/Work
$ git ls-remote http://rnuno@bugs.mysite.com/ta.git
Password:
14ba55277a5ca450f0a44e792e77c9474f013516 HEAD
14ba55277a5ca450f0a44e792e77c9474f013516 refs/heads/master

rnuno@RNUNO /d/Work
$ git ls-remote https://rnuno@bugs.mysite.com/ta.git
Password:
14ba55277a5ca450f0a44e792e77c9474f013516 HEAD
14ba55277a5ca450f0a44e792e77c9474f013516 refs/heads/master
```

but if i select for Git Smart HTTP: "HTTPS Only" it stops working:

```
rnuno@RNUNO /d/Work
$ git ls-remote http://rnuno@bugs.mysite.com/ta.git
Password:
fatal: http://rnuno@bugs.mysite.com/ta.git/info/refs not found: did you run git
update-server-info on the server?

rnuno@RNUNO /d/Work
$ git ls-remote https://rnuno@bugs.mysite.com/ta.git
Password:
fatal: https://rnuno@bugs.mysite.com/ta.git/info/refs not found: did you run git
update-server-info on the server?
```

Another thing i notice is that the password is irrelevant when this option is enable whatever password i put
it will give the same error and on redmine logs i get a 404.

Any sugestions?

Thanks,
-- Ricardo