]>
Commit | Line | Data |
---|---|---|
ad08a14f ER |
1 | diff -Nur cvsweb-3.0.1/cvsweb.cgi cvsweb-3.0.1.new/cvsweb.cgi |
2 | --- cvsweb-3.0.1/cvsweb.cgi 2004-05-08 16:13:40.000000000 +0200 | |
3 | +++ cvsweb-3.0.1.new/cvsweb.cgi 2004-08-19 14:06:58.000000000 +0200 | |
4 | @@ -214,7 +214,7 @@ | |
5 | ||
6 | # == EDIT this == | |
7 | # Locations to search for user configuration, in order: | |
8 | -for (catfile($mydir, 'cvsweb.conf'), '/usr/local/etc/cvsweb/cvsweb.conf') { | |
22b4d071 | 9 | +for (catfile($mydir, 'cvsweb.conf'), '/etc/webapps/cvsweb/cvsweb.conf') { |
ad08a14f ER |
10 | if (-r $_) { |
11 | $config = $_; | |
12 | last; | |
13 | diff -Nur cvsweb-3.0.1/cvsweb.conf cvsweb-3.0.1.new/cvsweb.conf | |
14 | --- cvsweb-3.0.1/cvsweb.conf 2004-05-05 01:40:50.000000000 +0200 | |
15 | +++ cvsweb-3.0.1.new/cvsweb.conf 2004-08-19 14:08:34.000000000 +0200 | |
16 | @@ -19,7 +19,7 @@ | |
17 | # cvsgraph (if you enable $allow_graph) | |
18 | # enscript (if you enable $allow_enscript) | |
19 | # | |
20 | -@command_path = qw(/bin /usr/bin /usr/local/bin); | |
21 | +@command_path = qw(/bin /usr/bin); | |
22 | ||
23 | # Search the above directories for each command (prefer gtar over tar). | |
24 | # | |
25 | @@ -47,7 +47,7 @@ | |
26 | # 'symbolic_name' => ['Name to display', '/path/to/cvsroot'] | |
27 | # | |
28 | @CVSrepositories = ( | |
29 | - 'local' => ['Local Repository', '/var/cvs'], | |
30 | + 'local' => ['Local Repository', '/home/services/cvsroot'], | |
31 | # 'freebsd' => ['FreeBSD', '/var/ncvs'], | |
32 | # 'openbsd' => ['OpenBSD', '/var/ncvs'], | |
33 | # 'netbsd' => ['NetBSD', '/var/ncvs'], | |
34 | @@ -62,7 +62,7 @@ | |
35 | # For example: | |
36 | # | |
37 | #$cvstreedefault = $CVSrepositories[2 * 0]; | |
38 | -#$cvstreedefault = 'local'; | |
39 | +$cvstreedefault = 'local'; | |
40 | ||
41 | # Bug tracking system linking options ("PR" means Problem Report, as in GNATS) | |
42 | # | |
43 | @@ -86,7 +86,7 @@ | |
44 | # Manual gateway linking. | |
45 | # | |
46 | $mancgi = | |
47 | - "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; | |
48 | + "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.2-current&format=html"; | |
49 | ||
50 | # Defaults for user options. | |
51 | # | |
52 | @@ -202,7 +202,7 @@ | |
53 | # check out the "mini" versions in the icons/ directory; they have a | |
54 | # width/height of 16/16. | |
55 | # | |
56 | -my $iconsdir = '/icons'; | |
57 | +my $iconsdir = '/cvsweb/icons'; | |
58 | ||
59 | # format: TEXT ICON-URL width height | |
60 | %ICONS = ( | |
61 | @@ -216,7 +216,7 @@ | |
62 | ||
63 | # An URL where to find the CSS. | |
64 | # | |
65 | -$cssurl = '/css/cvsweb.css'; | |
66 | +$cssurl = '/cvsweb/css/cvsweb.css'; | |
67 | ||
68 | # The length to which the last log entry should be truncated when shown | |
69 | # in the directory view. | |
70 | @@ -344,7 +344,7 @@ | |
71 | # The traditional mime.types file, eg. the one from Apache is fine. | |
72 | # See above where this gets used. | |
73 | # | |
74 | -$mime_types = '/usr/local/etc/apache/mime.types'; | |
09551d06 ER |
75 | +$mime_types = '/etc/mime.types'; |
76 | ||
ad08a14f ER |
77 | # Charset appended to the Content-Type HTTP header for text/* MIME types. |
78 | # Note that the web server may default to some charset which may take effect | |
79 | @@ -470,7 +470,7 @@ | |
80 | # settings in the configuration file with command line options, see | |
81 | # doGraph() and doGraphView() in cvsweb.cgi for details. | |
82 | # | |
83 | -#$cvsgraph_config = "/etc/cvsgraph.conf"; | |
84 | +#$cvsgraph_config = "/etc/cvsgraph/cvsgraph.conf"; | |
85 | ||
86 | # URL to the CVSHistory script. This should be absolute (but does not need | |
87 | # to include the host and port if the script is on the same server as | |
6805ba6e ER |
88 | @@ -610,6 +600,7 @@ |
89 | 'nroff' => qr/\.man$/o, | |
90 | 'pascal' => qr/\.p(as|p)?$/io, | |
91 | 'perl' => qr/\.p(m|(er)?l)$/io, | |
92 | + 'php' => qr/\.php$/io, | |
93 | 'postscript' => qr/\.e?ps$/io, | |
94 | 'python' => qr/\.py$/o, | |
95 | 'rfc' => qr/\b((rfc|draft)\..*\.txt)$/o, |