What is the http.conf in order to automatically serve all my git repositories?
For example, if I have a directory structure as follows (a number of project inside a central directory named git):
What do I have to write in order to avoid repeating the same for each project:
<Location /git/project1> DAV on AuthType Basic AuthName "Git" AuthUserFile /../htdocs/git/project1/passwd.git Require valid-user </Location>
Is there a way to have the repos somewhere outside apache's htdocs and redirect the requests there? (like using DocumentRoot)
All repos are --bare because they are the central repos (which Trac uses)