My PHP is showing as plain text with <Files> directive
Posted: Sun Feb 11, 2007 1:14 pm
Hi,
I'm trying to get Apache to read some extensionless files, specifically named, as PHP files and hence call the PHP module to process them. In my .htaccess file, I've placed the following directive:
My hope is that 'audix' will run as a PHP file, if executed in the same directory. However, when I run it, it's showing as plain text in my browser suggesting it isn't working. Is there something wrong with my syntax? PHP is working fine for files with a .php extension.
Many thanks
I'm trying to get Apache to read some extensionless files, specifically named, as PHP files and hence call the PHP module to process them. In my .htaccess file, I've placed the following directive:
Code: Select all
<Files audix>
ForceType application/x-httpd-php
</Files>Many thanks