httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1336982 - /httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml
Date Fri, 11 May 2012 00:35:15 GMT
Author: rbowen
Date: Fri May 11 00:35:15 2012
New Revision: 1336982

URL: http://svn.apache.org/viewvc?rev=1336982&view=rev
Log:
Add example from the php docs.

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml?rev=1336982&r1=1336981&r2=1336982&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml Fri May 11 00:35:15 2012
@@ -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>
 



Mime
View raw message