]> git.pld-linux.org Git - packages/git-core.git/commitdiff
- working apache configurations
authorKacper Kornet <draenog@pld-linux.org>
Mon, 2 Jul 2012 08:24:57 +0000 (08:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    git-core-gitweb-httpd.conf -> 1.2

git-core-gitweb-httpd.conf

index 7a14945484f2604470f94ba42f37474baa73c523..b77928782c4c6e9c1499d3b2aee32ba4f62b3712 100644 (file)
@@ -4,20 +4,25 @@
 </Directory>
 
 # Version 1 (default): under /cgi-bin/gitweb.cgi address
+Alias /cgi-bin/static/ /usr/share/gitweb/static/
 ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
-Alias /gitweb/ /usr/share/gitweb/
 <Location /cgi-bin/gitweb.cgi>
        Allow from All
 </Location>
+SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
 
+#
 # Version 2: gitweb as a handler to whole vhost:
 #<VirtualHost *:80>
 #      ServerName gitweb
 #
-#      Alias /gitweb/ /usr/share/gitweb/
-#      DocumentRoot /usr/lib/cgi-bin/gitweb.cgi
+#      Alias /static /usr/share/gitweb/static
+#      DocumentRoot /usr/lib/cgi-bin
+#      AddHandler cgi-script .cgi
+#      DirectoryIndex gitweb.cgi
 #      <Location />
 #              Options ExecCGI
 #              Allow from All
 #      </Location>
+#      SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
 #</VirtualHost>
This page took 0.031566 seconds and 4 git commands to generate.