Changes

From Amahi Wiki
Jump to: navigation, search
6 bytes added ,  22:40, 13 March 2012
<li>[[Open_Terminal_as_root|Open a terminal as root]] user and do the following:
{{Code|cd /etc/httpd/conf.d}}</li>
<li>Look for the ''####-gitweb.conf'' (#### is some number, i.e. 1000) file and open it in your favorite editor. Remove the Add text between after '''ServerAlias''' and '''ErrorLog''', then add the followingline
{{Text|Text=Alias /git /var/hda/web-apps/gitweb/html/
RewriteEngine On
DirectoryIndex gitweb.cgi
SetEnv GITWEB_CONFIG "/etc/gitweb.conf"
AddHandler cgi-script .cgi}}</li> <li>Edit ''/etc/httpd/conf.d/git.conf '' and text to the bottom {{Text|Text=<Directory /var/hda/web-apps/gitweb/html>
RewriteEngine On
RewriteBase /git/
12,424

edits