|
diff --git a/cgitrc b/cgitrc index ce0c01b..f1d8997 100644 --- a/ cgitrc+++ b/ cgitrc |
|
@@ -61,64 +61,68 @@ |
61 | ## use the default limit). |
61 | ## use the default limit). |
62 | ## |
62 | ## |
63 | #renamelimit=-1 |
63 | #renamelimit=-1 |
64 | |
64 | |
65 | |
65 | |
66 | ## Specify a root for virtual urls. This makes cgit generate urls like |
66 | ## Specify a root for virtual urls. This makes cgit generate urls like |
67 | ## |
67 | ## |
68 | ## http://localhost/git/repo/log/?h=branch |
68 | ## http://localhost/git/repo/log/?h=branch |
69 | ## |
69 | ## |
70 | ## instead of |
70 | ## instead of |
71 | ## |
71 | ## |
72 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
72 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
73 | ## |
73 | ## |
74 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
74 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
75 | ## possibly looking something like this: |
75 | ## possibly looking something like this: |
76 | ## |
76 | ## |
77 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
77 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
78 | ## |
78 | ## |
79 | ## For this to work with lighttpd, the rewrite rule should look more like this: |
79 | ## For this to work with lighttpd, the rewrite rule should look more like this: |
80 | ## |
80 | ## |
81 | ## url.rewrite = ( |
81 | ## url.rewrite = ( |
82 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" |
82 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" |
83 | ## ) |
83 | ## ) |
84 | ## |
84 | ## |
85 | ## This setting is disabled by default. |
85 | ## This setting is disabled by default. |
86 | #virtual-root=/git |
86 | #virtual-root=/git |
87 | |
87 | |
88 | |
88 | |
89 | ## Set the title printed on the root page |
89 | ## Set the title printed on the root page |
90 | #root-title=Git repository browser |
90 | #root-title=Git repository browser |
91 | |
91 | |
92 | |
92 | |
| |
93 | ## Set the description printed on the root page |
| |
94 | #root-desc=a fast web interface for the git dscm |
| |
95 | |
| |
96 | |
93 | ## If specified, the file at this path will be included as HTML in the |
97 | ## If specified, the file at this path will be included as HTML in the |
94 | ## sidebar on the repository index page |
98 | ## sidebar on the repository index page |
95 | #index-info= |
99 | #index-info= |
96 | |
100 | |
97 | |
101 | |
98 | ## If specified, the file at this path will be included as HTML above |
102 | ## If specified, the file at this path will be included as HTML above |
99 | ## the repository index |
103 | ## the repository index |
100 | #index-header= |
104 | #index-header= |
101 | |
105 | |
102 | |
106 | |
103 | ## Link to css file |
107 | ## Link to css file |
104 | #css=/cgit/cgit.css |
108 | #css=/cgit/cgit.css |
105 | |
109 | |
106 | |
110 | |
107 | ## Link to logo file |
111 | ## Link to logo file |
108 | #logo=/cgit/git-logo.png |
112 | #logo=/cgit/git-logo.png |
109 | |
113 | |
110 | |
114 | |
111 | ## Url loaded when clicking the logo |
115 | ## Url loaded when clicking the logo |
112 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ |
116 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ |
113 | |
117 | |
114 | |
118 | |
115 | ## Url loaded when clicking a submodule link |
119 | ## Url loaded when clicking a submodule link |
116 | #module-link=./?repo=%s&page=commit&id=%s |
120 | #module-link=./?repo=%s&page=commit&id=%s |
117 | |
121 | |
118 | |
122 | |
119 | ## Shared prefix which, when combined with repo url, becomes the url used |
123 | ## Shared prefix which, when combined with repo url, becomes the url used |
120 | ## to clone the repo |
124 | ## to clone the repo |
121 | #clone-prefix= |
125 | #clone-prefix= |
122 | |
126 | |
123 | |
127 | |
124 | ## Number of chars shown of repo description (in repolist view) |
128 | ## Number of chars shown of repo description (in repolist view) |
|