]> granicus.if.org Git - apache/commitdiff
Add the FilesMatch example for .php files.
authorRich Bowen <rbowen@apache.org>
Thu, 10 May 2012 23:42:36 +0000 (23:42 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 10 May 2012 23:42:36 +0000 (23:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336962 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.xml

index 41f5fcb8007e93f4609ff3520570293a06179ad7..a677077bd0d9d1842a52e03209560dbf78ed4ebb 100644 (file)
@@ -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