Enable repository access through a DAV proxy
This is a plugin that provides access through DAV (work like a proxy) at the repositories of the project. You can handle permission of PULL (get repo) or PUSH (put repo) from Trac's Admin menu. This is essentially a DAV proxy with control access using Trac permissions. WebDAV stands for "Web-based Distributed Authoring and Versioning". It is a set of extensions to the HTTP protocol which allows users to collaboratively edit and manage files on remote web servers.
To enable a dav-accessible repository, edit /etc/httpd/conf.d/gitdav.conf as follows:
Alias /git /var/www/repo_git <Directory "/var/www/repo_git"> Dav On Order allow,deny Allow from 127.0.0.0/8 </Directory>
If you have any issues, create a new ticket.
Download the zipped source from here.
You can check out ProxyDavPlugin from:
General instructions on installing Trac plugins can be found on the TracPlugins page.
- Enable ProxyDavPlugin on Admin | Plugins.
- Add the following to your trac.ini file:
[proxydav] url = http://127.0.0.1/git