httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1336962 - /httpd/httpd/trunk/docs/manual/mod/core.xml
Date Thu, 10 May 2012 23:42:37 GMT
Author: rbowen
Date: Thu May 10 23:42:36 2012
New Revision: 1336962

URL: http://svn.apache.org/viewvc?rev=1336962&view=rev
Log:
Add the FilesMatch example for .php files.

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

Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=1336962&r1=1336961&r2=1336962&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Thu May 10 23:42:36 2012
@@ -2611,6 +2611,15 @@ URLs</description>
 &lt;/Location&gt;
     </highlight>
 
+    <p>You could also use this directive to configure a particular
+    handler for files with a particular file extension. For example:</p>
+
+    <highlight language="config">
+&lt;FilesMatch \.php$&gt;
+    SetHandler application/x-httpd-php
+&lt;/FilesMatch&gt;
+    </highlight>
+
     <note><title>Note about / (slash)</title>
       <p>The slash character has special meaning depending on where in a
       URL it appears. People may be used to its behavior in the filesystem



Mime
View raw message