Talk:Gitweb

From ArchWiki
Latest comment: 16 September 2015 by E caille in topic mod_perl

VirtualHost

Might be nice to add some vhost config examples here as well

--Wsduvall October 24 2010 10:53

Nginx

To answer Wsduvall, here is my configuration in a virtualhost on nginx :

server {
       server_name my_server_name;
 
       root /srv/http/gitweb;
       index gitweb.cgi;
 
       gzip off;
 
       location ~ \.cgi$ {
           fastcgi_param   GITWEB_CONFIG  /etc/conf.d/gitweb.conf;
           include fastcgi_params;
           fastcgi_pass   unix:/run/fcgiwrap.sock;
           include        fastcgi.conf;
       }
   }

—This unsigned comment is by Sutat (talk) 09:33, 15 February 2014‎. Please sign your posts with ~~~~!

SSH

I added a section that explains how to checkout over SSH. Please do check it for errors if you want.

—This unsigned comment is by Markg85 (talk) 16:49, 4 March 2011‎ (UTC). Please sign your posts with ~~~~!Reply

Merge with Git

Hi,

I marked a few section that i think would better fit the Git page rather then the Gitweb page. Those are the sections for cloning over the git protocol, over ssh and over http. It's neat but really not part of Gitweb. I made those sections even this article but now i think it's best to merge a part of it with Git. What do you think of it?

—This unsigned comment is by Markg85 (talk) 13:55, 5 March 2011‎ (UTC). Please sign your posts with ~~~~!Reply

+1 for merging them to Git. -- Fengchao (talk) 08:09, 6 February 2013 (UTC)Reply

mod_perl

As mod_perl now require a downgraded version of perl, why using it for apache 2.4 ?

This configuration seems to be working fine :

<Directory "/usr/share/gitweb">
   DirectoryIndex gitweb.cgi
   Require all granted
   Options ExecCGI
   AddHandler cgi-script .cgi
   SetEnv  GITWEB_CONFIG  /etc/conf.d/gitweb.conf
</Directory>

—This unsigned comment is by E caille (talk) 18:28, 16 September 2015‎ (UTC). Please sign your posts with ~~~~!Reply