Apache Forcetype
Advanced PHP
2024-11-29
23
Another Apache configuration trick is to use the
ForceType
directive to force specific urls to be treated as PHP scripts:
httpd.conf
<Location /products>
ForceType application/x-httpd-php
</Location>
Again, we will put this to use later on.