Skip to content

Instantly share code, notes, and snippets.

@jnbek
Created January 25, 2017 22:05
Show Gist options
  • Save jnbek/91bda0484572afb2c2a50af6b3cf056b to your computer and use it in GitHub Desktop.
Save jnbek/91bda0484572afb2c2a50af6b3cf056b to your computer and use it in GitHub Desktop.
gitweb vs cgit
*************************** GITWEB *************************************
If you installed the GITWEB option please follow these instructions:
In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.
All you have to do to make gitweb work is:
1) Copy the files /usr/local/share/examples/git/gitweb/* to a directory on
your web server (e.g. Apache2) in which you are able to execute
CGI-scripts.
2) In gitweb.cgi, adjust the variable $projectroot to point to
your git repository (that is where you have your *.git project
directories).
*************************** GITWEB *************************************
https://wiki.archlinux.org/index.php/Gitweb#Lighttpd
cgit
---------------------------------------------------
cgit has been successfully installed.
To enable cgit in Apache, use something like the following:
<Directory "/usr/local/www/cgit/">
AllowOverride None
Options +ExecCGI
Require all granted
</Directory>
Documentation and sample configuration can be found
in /usr/local/share/doc/cgit/cgitrc.5.txt.
---------------------------------------------------
===> Cleaning for cgit-1.1_1
https://wiki.archlinux.org/index.php/Cgit#Lighttpd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment