]> granicus.if.org Git - apache/commitdiff
Per bz57584, ensure that this isn't just .cgi, ..cgi, ...cgi, and so on.
authorRich Bowen <rbowen@apache.org>
Thu, 16 Apr 2015 15:46:03 +0000 (15:46 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 16 Apr 2015 15:46:03 +0000 (15:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674099 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_mime.xml

index 171964a47e6dc52f017386cc5f0c9a63d19f6330..8d900072961432efa0732df4e496f5d52fbf8f57 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>