Httpd SetHandler: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
</pre>
</pre>


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

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>