summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_mime.xml
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2015-04-15 20:59:47 +0000
committerRich Bowen <rbowen@apache.org>2015-04-15 20:59:47 +0000
commit50ca7d8d003463cfa12d4b7ce8094453c6520f00 (patch)
treead325839483ace41b4c021bef5d6e543fe50c36c /docs/manual/mod/mod_mime.xml
parentf64613f98000a17818a3639b7ec27b8fe8ae0688 (diff)
downloadhttpd-50ca7d8d003463cfa12d4b7ce8094453c6520f00.tar.gz
Correct a regex so that it doesn't match the file named '.cgi'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673957 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_mime.xml')
-rw-r--r--docs/manual/mod/mod_mime.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_mime.xml b/docs/manual/mod/mod_mime.xml
index e6c913e0ec..4fde0ae916 100644
--- a/docs/manual/mod/mod_mime.xml
+++ b/docs/manual/mod/mod_mime.xml
@@ -144,7 +144,7 @@ module="mod_mime_magic">MimeMagicFile</directive></seealso>
<example><title>Configure handler based on final extension only</title>
<highlight language="config">
-&lt;FilesMatch "\.cgi$"&gt;
+&lt;FilesMatch ".+\.cgi$"&gt;
SetHandler cgi-script
&lt;/FilesMatch&gt;
</highlight>