In my Apache httpd.conf file, I have:
AddType application/x-httpd-php .php
However, when I create a file called "x.class.php" I can access this file directly via http://servername/x
I don't want to block access to these files. I just want to require either 1) the full filename to be used (x.class.php) or 2) at least the .class extension be used (x.class).
Why is the .class.php being processed like .php? And how can I stop this so that only .php files are processed without an extension?