httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1673954 - /httpd/httpd/trunk/docs/manual/mod/mod_mime.xml
Date Wed, 15 Apr 2015 20:56:55 GMT
Author: rbowen
Date: Wed Apr 15 20:56:55 2015
New Revision: 1673954

URL: http://svn.apache.org/r1673954
Log:
Correct a regex so that it doesn't match the file named '.cgi'

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_mime.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_mime.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_mime.xml?rev=1673954&r1=1673953&r2=1673954&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_mime.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_mime.xml Wed Apr 15 20:56:55 2015
@@ -144,7 +144,7 @@ module="mod_mime_magic">MimeMagicFile</d
 
     <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>



Mime
View raw message