I have a public repo on a server (apache), I can clone it with SSH from local with :
$ git clone user@myserver:public_html/repo
But the same repo can't be cloned with http :
$ git clone http://myserver/repo
// fatal: repository 'http://myserver/repo' not found
With a browser I can see the content of my repo when entering (userdir mod is activated and set to be document root) :
http://myserver/repo
and the associated git folder with
http://myserver/repo/.git
I set the folder permission to 755.
What am I doing wrong ?