You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2012/05/11 01:42:37 UTC
svn commit: r1336962 - /httpd/httpd/trunk/docs/manual/mod/core.xml
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>
</Location>
</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">
+<FilesMatch \.php$>
+ SetHandler application/x-httpd-php
+</FilesMatch>
+ </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