Httpd SetHandler: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * http://httpd.apache.org/docs/current/mod/core.html#location =Internal= * httpd Configuration#Directives =Overview=") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | =External= | ||
* http://httpd.apache.org/docs/current/mod/core.html# | * http://httpd.apache.org/docs/current/mod/core.html#sethandler | ||
=Internal= | =Internal= | ||
* [[httpd Configuration#Directives]] | * [[httpd Configuration#Directives|httpd Configuration]] | ||
=Overview= | =Overview= | ||
Forces all matching files to be processed by the specified handler. | |||
<pre> | |||
<Location "/status"> | |||
SetHandler server-status | |||
</Location> | |||
</pre> | |||
<pre> | |||
<FilesMatch "\.php$"> | |||
SetHandler application/x-httpd-php | |||
</FilesMatch> | |||
</pre> |
Latest revision as of 15:53, 10 January 2017
External
Internal
Overview
Forces all matching files to be processed by the specified handler.
<Location "/status"> SetHandler server-status </Location>
<FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch>