SOURCES: cvsweb-apache.conf - alternative config: for whole vhost

glen glen at pld-linux.org
Tue Jan 10 00:25:16 CET 2006


Author: glen                         Date: Mon Jan  9 23:25:16 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- alternative config: for whole vhost

---- Files affected:
SOURCES:
   cvsweb-apache.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/cvsweb-apache.conf
diff -u SOURCES/cvsweb-apache.conf:1.1 SOURCES/cvsweb-apache.conf:1.2
--- SOURCES/cvsweb-apache.conf:1.1	Tue Jan 10 00:17:17 2006
+++ SOURCES/cvsweb-apache.conf	Tue Jan 10 00:25:11 2006
@@ -1,19 +1,21 @@
 Alias /cvsweb/css/ /usr/share/cvsweb/css/
 Alias /cvsweb/enscript/ /usr/share/cvsweb/enscript/
 Alias /cvsweb/icons/ /usr/share/cvsweb/icons/
+
+# Version1 (default): under /cgi-bin/cvsweb.cgi address
 ScriptAlias /cgi-bin/cvsweb.cgi /usr/share/cvsweb/cvsweb.cgi
 
 <Location /cgi-bin/cvsweb.cgi>
 	# See also $charset in cvsweb.conf.
 	#AddDefaultCharset UTF-8
 
-	# mod_perl >= 1.99:
-	<IfModule mod_perl.c>
-		SetHandler perl-script
-		PerlResponseHandler ModPerl::Registry
-		PerlOptions +ParseHeaders
-		Options ExecCGI
-	</IfModule>
+	# apache-mod_perl >= 1.99:
+#	<IfModule mod_perl.c>
+#		SetHandler perl-script
+#		PerlResponseHandler ModPerl::Registry
+#		PerlOptions +ParseHeaders
+#		Options ExecCGI
+#	</IfModule>
 
 	Allow from all
 </Location>
@@ -21,4 +23,12 @@
 	Allow from all
 </Location>
 
-# vim: filetype=apache ts=4 sw=4
+# Version 2: cvsweb as handler to whole vhost:
+#<VirtualHost *:80>
+#    ServerName cvs
+#
+#    DocumentRoot /usr/share/cvsweb/cvsweb.cgi
+#    <Location />
+#        Options ExecCGI
+#    </Location>
+#</VirtualHost>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/cvsweb-apache.conf?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list