]> granicus.if.org Git - apache/commitdiff
Correct a regex so that it doesn't match the file named '.cgi'
authorRich Bowen <rbowen@apache.org>
Wed, 15 Apr 2015 20:59:47 +0000 (20:59 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 15 Apr 2015 20:59:47 +0000 (20:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673957 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_mime.xml

index e6c913e0ec07f1aba214295a5086bb9900d0ce17..4fde0ae916b2c3f03a1f3e473aec25b39a3483d7 100644 (file)
@@ -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>