Commit 10d9b39d authored by Richard Bowen's avatar Richard Bowen
Browse files

Don't match just .cgi or ..cgi or ...cgi, etc.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1674131 13f79535-47bb-0310-9956-ffa450edef68
parent b1d7efb2
Loading
Loading
Loading
Loading
+1 −1
Changes for docs/manual/mod/mod_mime.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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>