- apache1/apache2 config
authorAdam Gołębiowski <adamg@pld-linux.org>
Thu, 11 Dec 2008 08:18:29 +0000 (08:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cgit-httpd.conf -> 1.1

cgit-httpd.conf [new file with mode: 0644]

diff --git a/cgit-httpd.conf b/cgit-httpd.conf
new file mode 100644 (file)
index 0000000..cc0b45a
--- /dev/null
@@ -0,0 +1,23 @@
+<Directory /usr/share/cgit>
+       AllowOverride None
+       Allow from All
+</Directory>
+
+# Version 1 (default): under /cgi-bin/cgit.cgi address
+ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi
+Alias /cgit/ /usr/share/cgit/
+<Location /cgi-bin/cgit.cgi>
+       Allow from All
+</Location>
+
+# Version 2: cgit as a handler to whole vhost:
+#<VirtualHost *:80>
+#      ServerName cgit
+#
+#      Alias /cgit/ /usr/share/cgit/
+#      DocumentRoot /usr/lib/cgi-bin/cgit.cgi
+#      <Location />
+#              Options ExecCGI
+#              Allow from All
+#      </Location>
+#</VirtualHost>
This page took 0.0365 seconds and 4 git commands to generate.