author | Kamil Kaminski <kamilkss@gmail.com> | 2010-10-11 04:58:30 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-11-08 18:30:03 (UTC) |
commit | 49d09d4fd1b0cab8189cf1809a1b1241f54c2e48 (patch) (unidiff) | |
tree | f9874b7a09da4b49325320a94c3cb9dc4cf970c1 | |
parent | cda1b78ff7afb6c565a2efe503bb3643e1009dc9 (diff) | |
download | cgit-49d09d4fd1b0cab8189cf1809a1b1241f54c2e48.zip cgit-49d09d4fd1b0cab8189cf1809a1b1241f54c2e48.tar.gz cgit-49d09d4fd1b0cab8189cf1809a1b1241f54c2e48.tar.bz2 |
Fix a typo in README, s/ExecCGI/+ExecCGI
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,65 +20,65 @@ initialize and update the git submodule: | |||
20 | 20 | ||
21 | b) If you're building from a cgit tarball, you can download a proper git | 21 | b) If you're building from a cgit tarball, you can download a proper git |
22 | version like this: | 22 | version like this: |
23 | 23 | ||
24 | $ make get-git | 24 | $ make get-git |
25 | 25 | ||
26 | 26 | ||
27 | When either a) or b) has been performed, you can build and install cgit like | 27 | When either a) or b) has been performed, you can build and install cgit like |
28 | this: | 28 | this: |
29 | 29 | ||
30 | $ make | 30 | $ make |
31 | $ sudo make install | 31 | $ sudo make install |
32 | 32 | ||
33 | This will install cgit.cgi and cgit.css into "/var/www/htdocs/cgit". You can | 33 | This will install cgit.cgi and cgit.css into "/var/www/htdocs/cgit". You can |
34 | configure this location (and a few other things) by providing a "cgit.conf" | 34 | configure this location (and a few other things) by providing a "cgit.conf" |
35 | file (see the Makefile for details). | 35 | file (see the Makefile for details). |
36 | 36 | ||
37 | 37 | ||
38 | Dependencies: | 38 | Dependencies: |
39 | -git 1.5.3 | 39 | -git 1.5.3 |
40 | -zip lib | 40 | -zip lib |
41 | -crypto lib | 41 | -crypto lib |
42 | -openssl lib | 42 | -openssl lib |
43 | 43 | ||
44 | 44 | ||
45 | Apache configuration | 45 | Apache configuration |
46 | 46 | ||
47 | A new Directory-section must probably be added for cgit, possibly something | 47 | A new Directory-section must probably be added for cgit, possibly something |
48 | like this: | 48 | like this: |
49 | 49 | ||
50 | <Directory "/var/www/htdocs/cgit/"> | 50 | <Directory "/var/www/htdocs/cgit/"> |
51 | AllowOverride None | 51 | AllowOverride None |
52 | Options ExecCGI | 52 | Options +ExecCGI |
53 | Order allow,deny | 53 | Order allow,deny |
54 | Allow from all | 54 | Allow from all |
55 | </Directory> | 55 | </Directory> |
56 | 56 | ||
57 | 57 | ||
58 | Runtime configuration | 58 | Runtime configuration |
59 | 59 | ||
60 | The file /etc/cgitrc is read by cgit before handling a request. In addition | 60 | The file /etc/cgitrc is read by cgit before handling a request. In addition |
61 | to runtime parameters, this file also contains a list of the repositories | 61 | to runtime parameters, this file also contains a list of the repositories |
62 | displayed by cgit. | 62 | displayed by cgit. |
63 | 63 | ||
64 | A template cgitrc is shipped with the sources, and all parameters and default | 64 | A template cgitrc is shipped with the sources, and all parameters and default |
65 | values are documented in this file. | 65 | values are documented in this file. |
66 | 66 | ||
67 | 67 | ||
68 | The cache | 68 | The cache |
69 | 69 | ||
70 | When cgit is invoked it looks for a cachefile matching the request and | 70 | When cgit is invoked it looks for a cachefile matching the request and |
71 | returns it to the client. If no such cachefile exist (or if it has expired), | 71 | returns it to the client. If no such cachefile exist (or if it has expired), |
72 | the content for the request is written into the proper cachefile before the | 72 | the content for the request is written into the proper cachefile before the |
73 | file is returned. | 73 | file is returned. |
74 | 74 | ||
75 | If the cachefile has expired but cgit is unable to obtain a lock for it, the | 75 | If the cachefile has expired but cgit is unable to obtain a lock for it, the |
76 | stale cachefile is returned to the client. This is done to favour page | 76 | stale cachefile is returned to the client. This is done to favour page |
77 | throughput over page freshness. | 77 | throughput over page freshness. |
78 | 78 | ||
79 | The generated content contains the complete response to the client, including | 79 | The generated content contains the complete response to the client, including |
80 | the http-headers "Modified" and "Expires". | 80 | the http-headers "Modified" and "Expires". |
81 | 81 | ||
82 | 82 | ||
83 | The missing features | 83 | The missing features |
84 | 84 | ||