From: Rich Bowen Date: Fri, 11 May 2012 00:35:15 +0000 (+0000) Subject: Add example from the php docs. X-Git-Tag: 2.4.3~454 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5433af9e12abfb823e9672f39925514fd43f9c2;p=apache Add example from the php docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1336982 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 41f5fcb800..ed73eeb717 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -3974,6 +3974,15 @@ handler </Location> +

You could also use this directive to configure a particular + handler for files with a particular file extension. For example:

+ + +<FilesMatch \.php$> + SetHandler application/x-httpd-php +</FilesMatch> + +

You can override an earlier defined SetHandler directive by using the value None.