]> git.pld-linux.org Git - packages/cvsweb.git/blame - cvsweb-config.patch
- resolve error when checkouting file
[packages/cvsweb.git] / cvsweb-config.patch
CommitLineData
3cb85f3e 1diff -uNr cvsweb.orig/cvsweb.cgi cvsweb/cvsweb.cgi
2--- cvsweb.orig/cvsweb.cgi Sun Oct 3 19:24:58 1999
3+++ cvsweb/cvsweb.cgi Tue Oct 12 21:27:48 1999
4@@ -73,7 +73,7 @@
5 ##### Start of Configuration Area ########
6 # == EDIT this ==
7 # User configuration is stored in
8-$config = $ENV{'CVSWEB_CONFIG'} || '/usr/local/web/apache/conf/cvsweb.conf';
fad4548f 9+$config = $ENV{'CVSWEB_CONFIG'} || '/etc/cvsweb.conf';
3cb85f3e 10
11 # == Configuration defaults ==
12 # Defaults for configuration variables that shouldn't need
0a3b9077
ER
13--- ./cvsweb.conf~ 2005-04-02 03:00:23.000000000 +0300
14+++ ./cvsweb.conf 2005-04-02 03:01:29.000000000 +0300
15@@ -23,14 +23,15 @@
16
17 # 'symbolic_name' 'path_to_the_actual_repository'
18 %CVSROOT = (
19- 'Development' => '/usr/local/src/cvsrep',
20- 'Configuration' => '/tmp/cvsroot/conf',
21- 'HTML-files' => '/tmp/upload'
22+# Uncomment next line and modify the path if you have only one CVS repository.
23+# 'Development' => '/usr/local/src/cvsrep',
24+# 'Configuration' => '/tmp/cvsroot/conf',
25+# 'HTML-files' => '/tmp/upload'
26 );
27
28 # This tree is enabled by default when
29 # you enter the page
30-$cvstreedefault = 'Configuration';
31+$cvstreedefault = 'Local-CVS';
32
33 ##############
34 # Defaults for UserSettings
35@@ -81,7 +82,7 @@
36 ##############
37
38 # color settings in the body-tag
39-$body_tag = '<body text="#000000" bgcolor="#ffffff">';
40+$body_tag = '<body text="#000000" bgcolor="#ffffff" link="#0000ff" alink="#ff0000" vlink="#800080">';
41
42 # Wanna have a logo on the page ?
43 $logo = '<img src="/icons/apache_pb.gif">';
44@@ -291,6 +292,8 @@
45 "gif" => "image/gif",
46 "jpeg" => "image/jpeg",
47 "jpg" => "image/jpeg",
48+ "png" => "image/png",
49+ "xpm" => "image/xpm",
50 "*" => "text/plain",
51 );
52
09551d06
ER
53--- ./cvsweb.conf~ 2005-04-02 03:05:40.000000000 +0300
54+++ ./cvsweb.conf 2005-04-02 03:10:52.000000000 +0300
55@@ -279,7 +279,7 @@
56 # cvsweb to guess the correct mime-type on
57 # checkout; you can use the mime.types from
58 # apache here:
59-$mime_types = '/usr/local/web/apache/conf/mime.types';
60+$mime_types = '/etc/mime.types';
61
62 # quick mime-type lookup; maps file-suffices to
63 # mime-types for displaying checkouts in the browser.
This page took 0.02908 seconds and 4 git commands to generate.