I'm programming for an Apache server and I need for just one specific html page (say, first.htm) to be processed as PHP script. Is it possible to set up?
SetHandler directive can be used, too:
Forces all matching files to be processed by a handler
When placed into an .htaccess file or a or section, this directive forces all matching files to be parsed through the handler given by handler-name.
<Files first.htm>
SetHandler application/x-httpd-php
</Files>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With