]> granicus.if.org Git - apache/commitdiff
Add example from the php docs.
authorRich Bowen <rbowen@apache.org>
Fri, 11 May 2012 00:35:15 +0000 (00:35 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 11 May 2012 00:35:15 +0000 (00:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1336982 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.xml

index 41f5fcb8007e93f4609ff3520570293a06179ad7..ed73eeb717ac86829efdacddfb096b6c194ccf89 100644 (file)
@@ -3974,6 +3974,15 @@ handler</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>
+
     <p>You can override an earlier defined <directive>SetHandler</directive>
     directive by using the value <code>None</code>.</p>