|
diff --git a/cgitrc b/cgitrc index 2b09e01..6363c9c 100644 --- a/ cgitrc+++ b/ cgitrc |
|
@@ -64,50 +64,55 @@ |
64 | ## |
64 | ## |
65 | ## instead of |
65 | ## instead of |
66 | ## |
66 | ## |
67 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
67 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
68 | ## |
68 | ## |
69 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
69 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
70 | ## possibly looking something like this: |
70 | ## possibly looking something like this: |
71 | ## |
71 | ## |
72 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
72 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
73 | ## |
73 | ## |
74 | ## For this to work with lighttpd, the rewrite rule should look more like this: |
74 | ## For this to work with lighttpd, the rewrite rule should look more like this: |
75 | ## |
75 | ## |
76 | ## url.rewrite = ( |
76 | ## url.rewrite = ( |
77 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" |
77 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" |
78 | ## ) |
78 | ## ) |
79 | ## |
79 | ## |
80 | ## This setting is disabled by default. |
80 | ## This setting is disabled by default. |
81 | #virtual-root=/git |
81 | #virtual-root=/git |
82 | |
82 | |
83 | |
83 | |
84 | ## Set the title printed on the root page |
84 | ## Set the title printed on the root page |
85 | #root-title=Git repository browser |
85 | #root-title=Git repository browser |
86 | |
86 | |
87 | |
87 | |
88 | ## If specified, the file at this path will be included as HTML in the index |
88 | ## If specified, the file at this path will be included as HTML in the |
89 | ## of repositories |
89 | ## sidebar on the repository index page |
| |
90 | #index-info= |
| |
91 | |
| |
92 | |
| |
93 | ## If specified, the file at this path will be included as HTML above |
| |
94 | ## the repository index |
90 | #index-header= |
95 | #index-header= |
91 | |
96 | |
92 | |
97 | |
93 | ## Link to css file |
98 | ## Link to css file |
94 | #css=/cgit/cgit.css |
99 | #css=/cgit/cgit.css |
95 | |
100 | |
96 | |
101 | |
97 | ## Link to logo file |
102 | ## Link to logo file |
98 | #logo=/cgit/git-logo.png |
103 | #logo=/cgit/git-logo.png |
99 | |
104 | |
100 | |
105 | |
101 | ## Url loaded when clicking the logo |
106 | ## Url loaded when clicking the logo |
102 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ |
107 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ |
103 | |
108 | |
104 | |
109 | |
105 | ## Url loaded when clicking a submodule link |
110 | ## Url loaded when clicking a submodule link |
106 | #module-link=./?repo=%s&page=commit&id=%s |
111 | #module-link=./?repo=%s&page=commit&id=%s |
107 | |
112 | |
108 | |
113 | |
109 | ## Number of chars shown of repo description (in repolist view) |
114 | ## Number of chars shown of repo description (in repolist view) |
110 | #max-repodesc-length=60 |
115 | #max-repodesc-length=60 |
111 | |
116 | |
112 | |
117 | |
113 | ## Number of chars shown of commit subject message (in log view) |
118 | ## Number of chars shown of commit subject message (in log view) |
|