Apache2 with Git Smart HTTP

Install git-core and apache2. Also make sure required modules are loaded:

To create a git server with smart protocol, I used the following script in /var/gitwww:

And I configured my default virtualhost as following:

After that restart your apache and create a master branch from your client:

 

Leave a Reply