From d8ca6eb27d1bf142db0d8447cb350701b9bca532 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 10 May 2012 23:42:36 +0000 Subject: [PATCH] Add the FilesMatch example for .php files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1336962 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 41f5fcb800..a677077bd0 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -2611,6 +2611,15 @@ URLs </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> + + Note about / (slash)

The slash character has special meaning depending on where in a URL it appears. People may be used to its behavior in the filesystem -- 2.40.0