1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
|
# -*- perl -*-
# `cvsweb' configuration:
# Set $cvsroot to the root of the CVS tree
$cvsroot = '/usr/local/cvsroot';
# Files matching these patterns are restricted and will not be
# displayed over the web. If you run Apache, you may use web server
# auth, this feature, or both, your choice.
@restrict = ("CVSROOT/(?:passwd|readers|writers|avail)");
# Set $gzip_output to 1 or 0, for compress or don't compress the
# output stream to the browser. It is possible to try and guess this
# value using various methods. (eg. match HTTP_USER_AGENT against a
# list of known gzip-lame browsers) As long as this var is set to
# either 1 or 0 by one method or another, things will just work.
$gzip_output = 1;
# Set $rcsbinaries to the location of the RCS binaries, if they're not
# in the web server's $PATH
# $rcsbinaries = '/import/gnu-2.0/sparc-sun-sunos4.1/bin';
# Your background color of choice.
$bgcolor = "white";
# Your background graphic of choice.
$background = "/doc/cvsweb/white-construction-paper.gif";
# The HTML title will be $title: /pathname
$title = "My CVS Tree";
# The HTML to go at the very top of the root page.
$h1 = "
<h1 align=right>My CVS Tree </h1><hr>
";
# $intro is the HTML that is displayed along with the top-level tree
$intro = "
<a href=\"http://www.debian.org/\">
<img src=\"/doc/cvsweb/debianlogo-4t.gif\" align=\"left\" border=\"0\" width=\"91\" height=\"110\">
</a>
<a href=\"http://www.cyclic.com/\">
<img src=\"/doc/cvsweb/fishcvs2.gif\" align=\"right\" border=\"0\" width=\"100\" height=\"100\">
</a>
<center><p>This is a WWW interface to my CVS tree.</p></center>
<p>
You can browse the file hierarchy by picking directories (which have
slashes after them, e.g. <b><code>src/</code></b> ).
If you pick a file, you will see the revision history for that
file.</p>
<p>
Selecting a revision number will download that revision of the file.
There is a link at each revision to display diffs between that
revision and the previous one, and a form at the bottom of the page
that allows you to display diffs between arbitrary revisions.</p>
Please send any suggestions, comments, patches, etc. to:
<address>
<A HREF=\"mailto:karlheg\@debian.org\">Karl M. Hegbloom <karlheg\@debian.org></A>
</address>
";
# $shortinstr is the HTML displayed at the top of non-top-level
# directory listings.
$shortinstr = "
<a href=\"http://www.debian.org/\">
<img src=\"/doc/cvsweb/debianlogo-6t.gif\" align=\"left\" border=\"0\" width=\"46\" height=\"55\">
</a>
<a href=\"http://www.cyclic.com/\">
<img src=\"/doc/cvsweb/fishcvs.gif\" align=\"right\" border=\"0\" width=\"64\" height=\"64\">
</a>
<p>
Click on a directory to enter that directory. Click on a file to
display its revision history and to get a chance to display diffs
between revisions.
";
# $backicon is the icon to be used for the previous directory, if any
$backicon = "/doc/cvsweb/back.gif";
# _w and _h are width and height of the icon.
$backicon_w = 20;
$backicon_h = 22;
# $diricon is the icon to be used for a directory, if any
$diricon = "/doc/cvsweb/dir.gif";
$diricon_w = 20;
$diricon_h = 22;
# $lambdaicon is the icon for Lisp and Scheme.
$lambdaicon = "/doc/cvsweb/lambda.gif";
$lambdaicon_w = 20;
$lambdaicon_h = 22;
# $cicon is for C
$cicon = "/doc/cvsweb/c.gif";
$cicon_w = 20;
$cicon_h = 22;
# $hicon is for headers.
$hicon = "/doc/cvsweb/layout.gif";
$hicon_w = 20;
$hicon_h = 22;
# $texticon is the icon to be used for a text file, if any
$texticon = "/doc/cvsweb/text.gif";
$texticon_w = 20;
$texticon_h = 22;
# $tailhtml is the html for the bottom of the page
$tailhtml ="
<ADDRESS>
<A HREF=\"mailto:$ENV{SERVER_ADMIN}\">$ENV{SERVER_ADMIN}</A>
</ADDRESS>
";
##### End configuration section #####
# The last line must remain intact!
1;
|