]> git.pld-linux.org Git - packages/cvsweb.git/blobdiff - cvsweb-httpd.conf
- migrate to apache 2.4
[packages/cvsweb.git] / cvsweb-httpd.conf
diff --git a/cvsweb-httpd.conf b/cvsweb-httpd.conf
new file mode 100644 (file)
index 0000000..1c9ac8b
--- /dev/null
@@ -0,0 +1,36 @@
+
+<Directory /usr/share/cvsweb>
+       AllowOverride None
+       Require all granted
+</Directory>
+
+# Version1 (default): under /cgi-bin/cvsweb.cgi address
+ScriptAlias /cgi-bin/cvsweb.cgi /usr/lib/cgi-bin/cvsweb.cgi
+Alias /cvsweb/ /usr/share/cvsweb/
+
+<Location /cgi-bin/cvsweb.cgi>
+       Require all granted
+
+       # See also $charset in cvsweb.conf.
+       #AddDefaultCharset UTF-8
+
+       # if using apache2 mod_perl:
+#      <IfModule mod_perl.c>
+#              SetHandler perl-script
+#              PerlResponseHandler ModPerl::Registry
+#              PerlOptions +ParseHeaders
+#              Options ExecCGI
+#      </IfModule>
+</Location>
+
+# Version 2: cvsweb as handler to whole vhost:
+#<VirtualHost *:80>
+#      ServerName cvs
+#
+#      Alias /cvsweb/ /usr/share/cvsweb/
+#      DocumentRoot /usr/lib/cgi-bin/cvsweb.cgi
+#      <Location />
+#              Options ExecCGI
+#              Require all granted
+#      </Location>
+#</VirtualHost>
This page took 0.075536 seconds and 4 git commands to generate.