From: Adam Gołębiowski Date: Thu, 11 Dec 2008 08:18:29 +0000 (+0000) Subject: - apache1/apache2 config X-Git-Tag: auto/th/cgit-0_8_1-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcgit.git;a=commitdiff_plain;h=876ede406e21b163a4f7f00da512cf2724a69fa1 - apache1/apache2 config Changed files: cgit-httpd.conf -> 1.1 --- diff --git a/cgit-httpd.conf b/cgit-httpd.conf new file mode 100644 index 0000000..cc0b45a --- /dev/null +++ b/cgit-httpd.conf @@ -0,0 +1,23 @@ + + AllowOverride None + Allow from All + + +# 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/ + + Allow from All + + +# Version 2: cgit as a handler to whole vhost: +# +# ServerName cgit +# +# Alias /cgit/ /usr/share/cgit/ +# DocumentRoot /usr/lib/cgi-bin/cgit.cgi +# +# Options ExecCGI +# Allow from All +# +#