SOURCES: cgit-httpd.conf (NEW) - apache1/apache2 config

adamg adamg at pld-linux.org
Thu Dec 11 09:18:35 CET 2008


Author: adamg                        Date: Thu Dec 11 08:18:35 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- apache1/apache2 config

---- Files affected:
SOURCES:
   cgit-httpd.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cgit-httpd.conf
diff -u /dev/null SOURCES/cgit-httpd.conf:1.1
--- /dev/null	Thu Dec 11 09:18:35 2008
+++ SOURCES/cgit-httpd.conf	Thu Dec 11 09:18:29 2008
@@ -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>
================================================================


More information about the pld-cvs-commit mailing list