You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/04/28 09:48:17 UTC
svn commit: r1331700 - /httpd/httpd/trunk/docs/manual/mod/core.html.en
Author: humbedooh
Date: Sat Apr 28 07:48:16 2012
New Revision: 1331700
URL: http://svn.apache.org/viewvc?rev=1331700&view=rev
Log:
xforms
Modified:
httpd/httpd/trunk/docs/manual/mod/core.html.en
Modified: httpd/httpd/trunk/docs/manual/mod/core.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.html.en?rev=1331700&r1=1331699&r2=1331700&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.html.en Sat Apr 28 07:48:16 2012
@@ -826,7 +826,11 @@ named file-system directory, sub-directo
expressions</a> can also be used, with the addition of the
<code>~</code> character. For example:</p>
- <pre class="prettyprint lang-config"><Directory ~ "^/www/.*/[0-9]{3}"></pre>
+ <pre class="prettyprint lang-config">
+<Directory ~ "^/www/.*/[0-9]{3}">
+
+</Directory>
+</pre>
<p>would match directories in <code>/www/</code> that consisted of
@@ -930,7 +934,11 @@ the contents of file-system directories
However, it takes as an argument a
<a class="glossarylink" href="../glossary.html#regex" title="see glossary">regular expression</a>. For example:</p>
- <pre class="prettyprint lang-config"><DirectoryMatch "^/www/(.+/)?[0-9]{3}"></pre>
+ <pre class="prettyprint lang-config">
+<DirectoryMatch "^/www/(.+/)?[0-9]{3}">
+ # ...
+</DirectoryMatch>
+</pre>
<p>would match directories in <code>/www/</code> that consisted of three
@@ -1722,7 +1730,11 @@ filenames</td></tr>
can also be used, with the addition of the
<code>~</code> character. For example:</p>
- <pre class="prettyprint lang-config"><Files ~ "\.(gif|jpe?g|png)$"></pre>
+ <pre class="prettyprint lang-config">
+<Files ~ "\.(gif|jpe?g|png)$">
+ #...
+</Files>
+</pre>
<p>would match most common Internet graphics formats. <code class="directive"><a href="#filesmatch"><FilesMatch></a></code> is preferred,
@@ -2603,7 +2615,8 @@ URLs</td></tr>
</p>
<pre class="prettyprint lang-config">
<Location /private1>
-# ...
+ # ...
+</Location>
</pre>
<p>
@@ -2613,7 +2626,8 @@ URLs</td></tr>
</p>
<pre class="prettyprint lang-config">
<Location /private2<em>/</em>>
-# ...
+ # ...
+</Location>
</pre>
@@ -2641,7 +2655,11 @@ URLs</td></tr>
can also be used, with the addition of the <code>~</code>
character. For example:</p>
- <pre class="prettyprint lang-config"><Location ~ "/(extra|special)/data"></pre>
+ <pre class="prettyprint lang-config">
+<Location ~ "/(extra|special)/data">
+ #...
+</Location>
+</pre>
<p>would match URLs that contained the substring <code>/extra/data</code>
@@ -2708,7 +2726,11 @@ matching URLs</td></tr>
it takes a <a class="glossarylink" href="../glossary.html#regex" title="see glossary">regular expression</a>
as an argument instead of a simple string. For example:</p>
- <pre class="prettyprint lang-config"><LocationMatch "/(extra|special)/data"></pre>
+ <pre class="prettyprint lang-config">
+<LocationMatch "/(extra|special)/data">
+ # ...
+</LocationMatch>
+</pre>
<p>would match URLs that contained the substring <code>/extra/data</code>