Created
January 25, 2017 22:05
-
-
Save jnbek/91bda0484572afb2c2a50af6b3cf056b to your computer and use it in GitHub Desktop.
gitweb vs cgit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*************************** 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