Brent Quick's picture

Per MAN GITWEB the way to setup GITWEB is to run git-instaweb from your repository location.

Repo path: /srv/repos/git/

Parameters set in Global via git config --global -e

[instaweb]
        httpd = apache2 -f
        port = 12399
        modulepath = /usr/lib/apache2/modules

Apache Directives - /etc/apache2/sites-enabled/git
(Did setup folder option via default server &  but nothing set there)

SSLEngine on                                            
SSLCertificateFile /etc/webmin/miniserv.cert            
SSLCertificateKeyFile /etc/ssl/certs/wildcard.domain.com
SSLProtocol +SSLv3 +TLSv1 
LogLevel warn 
ErrorLog /var/log/apache2/git-error.log 
CustomLog /var/log/apache2/git-access.log combined
SetEnv GIT_PROJECT_ROOT /srv/repos/git/
SetEnv GIT_HTTP_EXPORT_ALL   
ScriptAlias / /usr/lib/git-core/git-http-backend/
DocumentRoot /usr/share/gitweb  

Set Privilages - chown -R www-data:www-data /srv/repos/git/

All for now.