equal
deleted
inserted
replaced
171 Each line of <filename>access.conf</filename> has the following syntax: |
171 Each line of <filename>access.conf</filename> has the following syntax: |
172 </para> |
172 </para> |
173 <programlisting><replaceable>rule</replaceable> <replaceable>condition</replaceable> <replaceable>condition...</replaceable> |
173 <programlisting><replaceable>rule</replaceable> <replaceable>condition</replaceable> <replaceable>condition...</replaceable> |
174 </programlisting> |
174 </programlisting> |
175 <para> |
175 <para> |
176 Blank lines and lines that start with <literal>#</literal> are ignored. Rule is one of |
176 Blank lines and lines that start with <code>#</code> are ignored. Rule is |
|
177 one of |
177 </para> |
178 </para> |
178 <itemizedlist> |
179 <itemizedlist> |
179 <listitem> |
180 <listitem> |
180 <literal>init</literal>: allow reads, writes, and the creation of new repositories |
181 <literal>init</literal>: allow reads, writes, and the creation of new repositories |
181 </listitem> |
182 </listitem> |
200 <listitem> |
201 <listitem> |
201 <code>repo=<replaceable>globpattern</replaceable></code>: path to the repository |
202 <code>repo=<replaceable>globpattern</replaceable></code>: path to the repository |
202 </listitem> |
203 </listitem> |
203 </itemizedlist> |
204 </itemizedlist> |
204 <para> |
205 <para> |
205 "*" only matches one directory level, where "**" matches as many as you |
206 <code>*</code> only matches one directory level, where <code>**</code> |
206 want. More precisely, "*" matches zero or more characters not including "/" |
207 matches as many as you want. More precisely, <code>*</code> matches zero or |
207 while "**" matches zero or more characters including "/". So |
208 more characters not including <code>/</code> while <code>**</code> matches |
|
209 zero or more characters including <code>/</code>. So |
208 <code>projects/*</code> matches <filename |
210 <code>projects/*</code> matches <filename |
209 class='directory'>projects/foo</filename> but not <filename |
211 class='directory'>projects/foo</filename> but not <filename |
210 class='directory'>projects/foo/bar</filename>, while |
212 class='directory'>projects/foo/bar</filename>, while |
211 <code>projects/**</code> matches both. |
213 <code>projects/**</code> matches both. |
212 </para> |
214 </para> |