]> git.pld-linux.org Git - packages/cvsweb.git/commitdiff
- alternative config: for whole vhost
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 9 Jan 2006 23:25:11 +0000 (23:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvsweb-apache.conf -> 1.2

cvsweb-apache.conf

index a69a5c9c8621138af5cfc56983d483a8752929ee..1ab6ca6992ee4e01600732828c65d14c20fd6888 100644 (file)
@@ -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 @@ ScriptAlias /cgi-bin/cvsweb.cgi /usr/share/cvsweb/cvsweb.cgi
        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>
This page took 0.137822 seconds and 4 git commands to generate.