[BACK]Return to cvsweb-httpd.conf CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / cvsweb / samples

File: [cvsweb.bsd.lv] / cvsweb / samples / cvsweb-httpd.conf (download)

Revision 3.1, Sun Oct 5 21:03:20 2003 UTC (17 years ago) by scop
Branch: MAIN
CVS Tags: HEAD, FreeBSD-cvsweb-3_0_6, FreeBSD-cvsweb-3_0_5, FreeBSD-cvsweb-3_0_4, FreeBSD-cvsweb-3_0_3, FreeBSD-cvsweb-3_0_2, FreeBSD-cvsweb-3_0_1, FreeBSD-cvsweb-3_0_0, FreeBSD-cvsweb-2_9_3-beta, FreeBSD-cvsweb-2_9_2-beta, FreeBSD-cvsweb-2_9_1-beta

Add sample Apache configuration snippet.

#                                                                -*- apache -*-
# $FreeBSD$
#
# Sample configuration file snippet for running FreeBSD-CVSweb
# with Apache.  Include this in your httpd.conf and modify the
# paths according to your setup.

# Note: this affects all mod_perl scripts in the server, not just cvsweb.cgi.
# mod_perl >= 1.99:
<IfModule mod_perl.c>
PerlSwitches -T
</IfModule>

<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>

   #mod_perl < 1.99:
   # TODO

</Location>